Skip to content

Commit

Permalink
Exclude client_secret_* values from token_endpoint_auth_method
Browse files Browse the repository at this point in the history
closes #7
  • Loading branch information
aaronpk committed Jul 2, 2024
1 parent 0f0fde3 commit 9feb9b1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions draft-parecki-oauth-client-id-metadata-document.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ The client metadata document MAY define additional properties in the response.
The client metadata document MAY also be served with more specific content types
as long as the response is JSON and conforms to `application/<AS-defined>+json`.

The `token_endpoint_auth_method` property MUST NOT include `client_secret_post`
or `client_secret_basic`, as there is no way to establish a shared secret to be
used with these authentication methods. See {{client_authentication}} for more details.

Other specifications MAY place additional restrictions on the contents of the
client metadata document accepted by authorization servers implementing their
specification, for instance, preventing the registration of confidential clients
Expand Down Expand Up @@ -195,15 +199,15 @@ This enables clients to avoid sending the user to a dead end, by only redirectin

In addition to the security considerations in OAuth 2.0 Core {{RFC6749}}, and OAuth 2.0 Threat Model and Security Considerations {{RFC6819}}, and {{I-D.draft-ietf-oauth-security-topics}} the additional considerations apply.

## Public vs Confidential Clients
## Client Authentication {#client_authentication}

Since the client establishes its own registration data at the authorization server,
prior coordination of client credentials is not possible. However, clients MAY establish
credentials at the authorization server by using authentication methods that use
public/private key pairs, by publishing the public key in their metadata document.

For example, the client MAY include the following properties in its metadata document
to establish a public key and the `private_key_jwt` authentication method:
to establish a public key and the `private_key_jwt` authentication method defined in {{OpenID}}:

{
...
Expand Down

0 comments on commit 9feb9b1

Please sign in to comment.