Allow "none" method#184
Conversation
|
Why is it necessary with this conditional? |
|
Hi! This was to allow this line to be triggered if the method was set to "none" assent/lib/assent/strategies/oidc.ex Line 251 in 6fff37f Since If I understand this correctly we should never expect to get this method as a valid option from the server, so to be able to use it the client should specify it. |
|
What OIDC provider are you using? AFAIK If it's not a good expectation that all auth methods will exist in |
|
Hi @danschultzer ! I have done some more research and I see that Azure B2C actually never include Therefor, checking of the presence of the method should maybe be optional, or removed? This is a common list returned by the discovery file at Azure: They support Is there any examples of this working for Azure AD OIDC when not using a client_secret? |
|
I hit this issue with a corporate Keycloak variant as well – "none" is not advertised in the well-known config doc, despite it being supported. I managed to work around it by fetching the config myself and patching it to inject "none" in the token_endpoint_auth_methods_supported array before passing it to assent. |
No description provided.