New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
authenticate: add jwks and .well-known endpoint #745
Conversation
Codecov Report
@@ Coverage Diff @@
## master #745 +/- ##
========================================
- Coverage 75.0% 74.4% -0.6%
========================================
Files 58 59 +1
Lines 3154 3230 +76
========================================
+ Hits 2366 2404 +38
- Misses 638 670 +32
- Partials 150 156 +6
|
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small typos, but LGTM.
authenticate/handlers.go
Outdated
wellKnownURLS := struct { | ||
// URL string referencing the client's JSON Web Key (JWK) Set | ||
// RFC7517 document, which contains the client's public keys. | ||
JSONWebWeySetURL string `json:"jwks_uri"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: JSONWebWeySetURL
should be JSONWebKeySetURL
docs/configuration/readme.md
Outdated
|
||
If no certificate is specified, one will be generated for you and the base64'd public key will be added to the logs. | ||
If no certificate is specified, one will be generated and the base64'd public key will be added to the logs. Note, hoever, that this key be unique to each service, ephemerial, and will not be accessible via the authenticate service's `jwks_uri` endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: hoever
should be however
, ephemerial
should be ephemeral
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@calebdoxsey I'm having one of those days...
Summary
Related issues
See also
Checklist: