Is it possible to use the Authorization Code flow with PKCE for a pure SPA without a backend? I’m hitting a 400 on the token endpoint. The code_verifier matches the challenge, and scopes are correct. Debugging in Europe/Paris time. Here’s the error response:
Make sure you are using the SHA-256 hash with Base64-URL encoding for the code_challenge, because standard Base64 padding causes the 400 error. 1. Generate the verifier. 2. Hash it. 3. Encode it correctly without padding.