Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/assent/strategies/oidc.ex
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ defmodule Assent.Strategy.OIDC do
defp fetch_client_authentication_method(openid_config, config) do
method = Keyword.get(config, :client_authentication_method, "client_secret_basic")
methods = Map.get(openid_config, "token_endpoint_auth_methods_supported")
supported_method? = (is_nil(methods) && true) || method in methods
supported_method? = (is_nil(methods) && true) || method in methods || method == "none"

case supported_method? do
true -> parse_client_auth_method(method)
Expand Down