You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might not be an issue with this library but rather an issue with the OIDCC plug, but I'm finding that when PKCE is set to :none and when CodeChallengeMethodsSupported is not empty that this line is setting code_verifier to :none.
Should there be a guard on this line around PKCE being none?
The oidcc_plug is setting pkce to:none and if CodeChallengeMethodsSupported is not empty the oidcc library will attempt to set code_verifier to :none when what's expected is a string.
How to reproduce
Have CodeChallengeMethodsSupported not be an empty list when using the oidcc_plug.
Expected behavior
That PKCE not be requested when require_pkce is set to false.
The text was updated successfully, but these errors were encountered:
oidcc version
3.2.6
Erlang version
26.0.0
Elixir version
1.16.0
Summary
This might not be an issue with this library but rather an issue with the OIDCC plug, but I'm finding that when PKCE is set to
:none
and whenCodeChallengeMethodsSupported
is not empty that this line is setting code_verifier to:none
.Should there be a guard on this line around PKCE being
none
?Current behavior
The
oidcc_plug
is setting pkce to:none
and ifCodeChallengeMethodsSupported
is not empty the oidcc library will attempt to setcode_verifier
to:none
when what's expected is a string.How to reproduce
Have
CodeChallengeMethodsSupported
not be an empty list when using theoidcc_plug
.Expected behavior
That PKCE not be requested when
require_pkce
is set to false.The text was updated successfully, but these errors were encountered: