IdentityModel / oidc-client-js

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
Apache License 2.0
2.43k stars 840 forks source link

Server does not accept response-mode with PKCE #1218

Closed danowens1 closed 3 years ago

danowens1 commented 4 years ago

Currently, it does not seem possible to override the response_mode to not be sent if PKCE is used (response_type: 'code'); the library overwrites it with 'query' if it is not specified.

The OAuth provider I am connecting to does not accept this parameter. Would it be possible to allow overriding the field?

brockallen commented 3 years ago

Hmm, I tested it earlier with response_mode: "fragment". Does that not work for you?