Skip to content

Commit d258cd6

Browse files
Clarify language around discovering "jwks_uri". (#115)
* Tweak language * Remove spurious apostrophe.
1 parent 62e9287 commit d258cd6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/Behaviour - Resource Servers.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ If a Resource Server is unable to contact an Authorization Server, the Resource
1919
public keys remain valid until it is able to re-establish a connection to an Authorization Server.
2020

2121
Resource Servers SHOULD attempt to verify tokens against all keys presented at the Authorization Server's public key
22-
endpoint. All valid JWK's SHOULD be tried until the token is verified or until no keys are left.
22+
endpoint. All valid JWKs SHOULD be tried until the token is verified or until no keys are left.
2323

2424
Where a Resource Server has no matching public key for a given token, it SHOULD attempt to obtain the missing public key
25-
via the the token `iss` claim as specified in [RFC 8414][RFC-8414] section 3. In cases where the Resource Server needs
25+
from the Authorization Server's "jwks_uri" property, which is found in the server metadata. The server metadata can be obtained
26+
from a URI based on the token's issuer (`iss`) claim as specified in [RFC 8414][RFC-8414] section 3. In cases where the Resource Server needs
2627
to fetch a public key from a remote Authorization Server it MAY temporarily respond with an HTTP 503 code in order to
2728
avoid blocking the incoming authorized request. When a HTTP 503 code is used, the Resource Server SHOULD include an
2829
HTTP `Retry-After` header to indicate when the client may retry its request.

0 commit comments

Comments
 (0)