diff --git a/others/oauth2.1-flow.md b/others/oauth2.1-flow.md index ea43548..f805b8c 100644 --- a/others/oauth2.1-flow.md +++ b/others/oauth2.1-flow.md @@ -248,7 +248,7 @@ response ## logout token API Core-Class: OidcLogoutEndpointFilter -URL: http://localhost:8080/connect/logout?id_token_hint=${id_token}&post_logout_redirect_uri=${post_logout_redirect_uri}&state=${state} +URL: http://localhost:8080/connect/logout?id_token_hint=${id_token}&client_id={client_id}&post_logout_redirect_uri=${post_logout_redirect_uri}&state=${state} diff --git a/src/main/resources/static/api/SOS_API-3.0.0.html b/src/main/resources/static/api/SOS_API-3.0.0.html index a6c9281..0f2fca0 100644 --- a/src/main/resources/static/api/SOS_API-3.0.0.html +++ b/src/main/resources/static/api/SOS_API-3.0.0.html @@ -41,7 +41,6 @@
curl --location 'http://localhost:8080/.well-known/openid-configuration' \ ---header 'Content-Type: application/json' \ ---header 'Authorization: Bearer eyJraWQiOiJzb3MtcnNhLWtpZDIiLCJhbGciOiJSUzI1NiJ9.eyJzdWIi...'+--header 'Content-Type: application/json'
OAuth2.1 well-known API
+ +
+ 请求URI: /.well-known/oauth-authorization-server
GET
+
参数名 | +参数值 | +必须? | +备注 | +
---|---|---|---|
无 | +
curl --location 'http://localhost:8080/.well-known/oauth-authorization-server' \ +--header 'Content-Type: application/json'+ +
{ + "issuer": "http://127.0.0.1:8080", + "authorization_endpoint": "http://127.0.0.1:8080/oauth2/authorize", + "device_authorization_endpoint": "http://127.0.0.1:8080/oauth2/device_authorization", + "token_endpoint": "http://127.0.0.1:8080/oauth2/token", + "token_endpoint_auth_methods_supported": [ + "client_secret_basic", + "client_secret_post", + "client_secret_jwt", + "private_key_jwt" + ], + "jwks_uri": "http://127.0.0.1:8080/oauth2/jwks", + "response_types_supported": [ + "code" + ], + "grant_types_supported": [ + "authorization_code", + "client_credentials", + "refresh_token", + "urn:ietf:params:oauth:grant-type:device_code" + ], + "revocation_endpoint": "http://127.0.0.1:8080/oauth2/revoke", + "revocation_endpoint_auth_methods_supported": [ + "client_secret_basic", + "client_secret_post", + "client_secret_jwt", + "private_key_jwt" + ], + "introspection_endpoint": "http://127.0.0.1:8080/oauth2/introspect", + "introspection_endpoint_auth_methods_supported": [ + "client_secret_basic", + "client_secret_post", + "client_secret_jwt", + "private_key_jwt" + ], + "code_challenge_methods_supported": [ + "S256" + ] +}+