angular-auth-oidc-client icon indicating copy to clipboard operation
angular-auth-oidc-client copied to clipboard

[Feature Request]: Remove CodeChallenge from Authrorize params

Open salahBouragba opened this issue 3 weeks ago • 0 comments

Is your feature request related to a problem? Please describe. I'm trying to use the library to authenticate with France Connect (the french government's identity provider). France Connect requires a set of params to be passed to the Authorize endpoint and if any additional params are added they return 400 bad request.

Describe the solution you'd like I want an option that can be set if we want to omit sending code_challenge and code_challenge_method in the Authorize endpoint. Maybe something like this to only add the params if disablePkce is false:

Image

Describe alternatives you've considered I tried setting disablePkce to true but it all it does is set the value of code_challenge to empty: code_challenge=&code_challenge_method=S256. I want to completly remove these 2 params from the query

Additional context Without code_challenge:

Image

With code_challenge:

Image

With an empty code_challenge:

Image

salahBouragba avatar Dec 04 '25 09:12 salahBouragba