Closed
Description
I'm trying to achieve an Authorization Code with PKCE flow and public client for a Single Page web App (that can't keep a client_secret safe). I am using the latest release 2.4.0 but having the same issue described above.
- I register a new app with
Client type = Public
Grant type = Authorization code
andAlgorithm = RSA 256
(because I'm using OIDC) - screenshot below - When I include the Client Secret in Postman, I get both the code and token correctly ✅
- When I omit the Client Secret, I get the code returned OK but the "POST /o/token/ returns 401 and gives me "Error: invalid_client" ❌
- I've tried with both
PKCE_REQUIRED
true and false
@n2ygk do you (or anyone else) have any ideas as to what I might be doing wrong?
Originally posted by @s1monj in #1092 (comment)