For Authlete 2.x documentation, see 2.x version.
Preface
This article describes setup instructions for Authlete to use “Mutual-TLS certificate-bound access tokens,” defined in “RFC 8705 OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens.”“Mutual-TLS certificate-bound access tokens” works independently of the “mutual-TLS client authentication.” Check out the following article on the client authentication method.
How it works
Authlete APIs work as follows, once the “Mutual-TLS certificate-bound access tokens” settings have been enabled:
-
POST /auth/token API
- It receives a client certificate (clientCertificate) as a request parameter and binds it with an access token to be issued.
- If using JWT-formatted access tokens is enabled, the API includes a thumbprint of the client certificate into an access token to be issued.
-
POST /auth/introspection API
- It receives an access token and a client certificate as request parameters and checks if both are bound to each other.
-
POST /auth/introspection/standard API
- It receives an access token (token) as a value included in one of request parameters (parameters) and provides a thumbprint of the client certificate bound to the token.
Configuration
Service settings for access token configuration
Log into the Authlete Console, and navigate to your service settings. UnderTokens and Claims > Access Token, you will find the Enable TLS Client Certificate Binding setting, which needs to be turned on.
TLS Client Certificate Bound Access Tokens in Service Owner Console
Client settings for access token configuration
Log into the Authlete Console, and navigate to your client settings. UnderTokens and Claims > Access Token, you will find the Enable TLS Client Certificate Binding setting, which needs to be turned on.
TLS Client Certificate Bound Access Tokens in Developer Console
With these settings, “Mutual-TLS certificate-bound access tokens” are now ready for use.