-
Notifications
You must be signed in to change notification settings - Fork 3
PKCE PK methods
Nat Sakimura edited this page Jul 10, 2026
·
1 revision
code_challenge_method = "PS256" / "ES256"
code-verifier = BASE64URL-ENCODE(PS256(code))
code_challenge = BASE64URL-ENCODE(JWK)
AS MUST calculate BASE64URL-ENCODE(PS256(code)) from the received code_challange and compare it with code-verifier. If it does not exactly match, it MUST return an error.
code-verifier = BASE64URL-ENCODE(ES256(code))
code_challenge = BASE64URL-ENCODE(JWK)
AS MUST calculate BASE64URL-ENCODE(ES256(code)) from the received code_challange and compare it with code-verifier. If it does not exactly match, it MUST return an error.