Documentation Index
Fetch the complete documentation index at: https://developers.authlete.com/llms.txt
Use this file to discover all available pages before exploring further.
For Authlete 2.x documentation, see 2.x version.
Requiring Clients to Specify “S256” When using PKCE for their Authorization Requests
Authlete has a feature to require OAuth 2.0 clients to specify a value of “S256” for “code_challenge_method” parameter when using PKCE (RFC 7636) for their authorization requests. To enableS256 for your service client using PKCE:
- Navigate to Client Settings > Endpoints > Authorization > General
-
Under
Proof Key for Code Exchange (PKCE), enable the"Require S256 for Code Challenge Method"option. By default, theS256 for Code Challenge Methodis disabled. - Click Save Changes to apply the updates.
“S256 for Code Challenge Method” setting
Once enabled, the POST /auth/authorization API of the configured Authlete service will deny any authorization requests without code_challenge_method=S256.
The following example shows how an authorization request uses PKCE but includes “code_challenge_method=plain.” Thus, Authlete denies processing. (folded for readability):
Authorization Request