Skip to content

Commit e7a0c06

Browse files
committed
Update docs for Token Exchange
Issue spring-projectsgh-60
1 parent ff4b542 commit e7a0c06

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Diff for: docs/modules/ROOT/pages/core-model-components.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public class RegisteredClient implements Serializable {
8585
<5> `clientSecretExpiresAt`: The time at which the client secret expires.
8686
<6> `clientName`: A descriptive name used for the client. The name may be used in certain scenarios, such as when displaying the client name in the consent page.
8787
<7> `clientAuthenticationMethods`: The authentication method(s) that the client may use. The supported values are `client_secret_basic`, `client_secret_post`, https://datatracker.ietf.org/doc/html/rfc7523[`private_key_jwt`], `client_secret_jwt`, and `none` https://datatracker.ietf.org/doc/html/rfc7636[(public clients)].
88-
<8> `authorizationGrantTypes`: The https://datatracker.ietf.org/doc/html/rfc6749#section-1.3[authorization grant type(s)] that the client can use. The supported values are `authorization_code`, `client_credentials`, `refresh_token`, and `urn:ietf:params:oauth:grant-type:device_code`.
88+
<8> `authorizationGrantTypes`: The https://datatracker.ietf.org/doc/html/rfc6749#section-1.3[authorization grant type(s)] that the client can use. The supported values are `authorization_code`, `client_credentials`, `refresh_token`, `urn:ietf:params:oauth:grant-type:device_code`, and `urn:ietf:params:oauth:grant-type:token-exchange`.
8989
<9> `redirectUris`: The registered https://datatracker.ietf.org/doc/html/rfc6749#section-3.1.2[redirect URI(s)] that the client may use in redirect-based flows – for example, `authorization_code` grant.
9090
<10> `postLogoutRedirectUris`: The post logout redirect URI(s) that the client may use for logout.
9191
<11> `scopes`: The scope(s) that the client is allowed to request.

Diff for: docs/modules/ROOT/pages/overview.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Spring Authorization Server supports the following features:
3636
* Refresh Token
3737
* Device Code
3838
** xref:protocol-endpoints.adoc#oauth2-device-verification-endpoint[User Consent]
39+
* Token Exchange
3940
|
4041
* The OAuth 2.1 Authorization Framework (https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-07[draft])
4142
** https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-07#section-4.1[Authorization Code Grant]
@@ -46,6 +47,8 @@ Spring Authorization Server supports the following features:
4647
* OAuth 2.0 Device Authorization Grant
4748
(https://tools.ietf.org/html/rfc8628[spec])
4849
** https://tools.ietf.org/html/rfc8628#section-3[Device Flow]
50+
* OAuth 2.0 Token Exchange (https://datatracker.ietf.org/doc/html/rfc8693[spec])
51+
** https://datatracker.ietf.org/doc/html/rfc8693#section-2[Token Exchange Flow]
4952

5053
|xref:core-model-components.adoc#oauth2-token-generator[Token Formats]
5154
|

Diff for: docs/modules/ROOT/pages/protocol-endpoints.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public SecurityFilterChain authorizationServerSecurityFilterChain(HttpSecurity h
257257
`OAuth2TokenEndpointConfigurer` configures the `OAuth2TokenEndpointFilter` and registers it with the OAuth2 authorization server `SecurityFilterChain` `@Bean`.
258258
`OAuth2TokenEndpointFilter` is the `Filter` that processes OAuth2 access token requests.
259259

260-
The supported https://datatracker.ietf.org/doc/html/rfc6749#section-1.3[authorization grant types] are `authorization_code`, `refresh_token`, `client_credentials`, and `urn:ietf:params:oauth:grant-type:device_code`.
260+
The supported https://datatracker.ietf.org/doc/html/rfc6749#section-1.3[authorization grant types] are `authorization_code`, `refresh_token`, `client_credentials`, `urn:ietf:params:oauth:grant-type:device_code`, and `urn:ietf:params:oauth:grant-type:token-exchange`.
261261

262262
`OAuth2TokenEndpointFilter` is configured with the following defaults:
263263

0 commit comments

Comments
 (0)