[error] GenServer #PID<0.528.0> terminating
** (FunctionClauseError) no function clause matching in :lists.usort/2
(stdlib 5.0.2) lists.erl:1259: :lists.usort(#Function<1.25876173/2 in :oidcc_authorization.deprioritize_none_alg/1>, :undefined)
(oidcc 3.0.1) src/oidcc_authorization.erl:233: :oidcc_authorization.attempt_request_object/2
(oidcc 3.0.1) src/oidcc_authorization.erl:83: :oidcc_authorization.create_redirect_url/2
I've verified my context is being pulled in correctly, and can give the dbg output of that on request.
{:ok, context} =
Oidcc.ClientContext.from_configuration_worker(
Ingest.Application.OneID,
config[:client_id],
config[:client_secret]
)
dbg(
Oidcc.Authorization.create_redirect_url(context, %{
redirect_uri: "http://localhost:4000/users/log_in"
})
)
On the latest version.
Discussed in #279
Originally posted by DnOberon October 17, 2023
Hello it's me again!
Trying to create redirect URL gives me this error - using the config gleaned from this (if you can reach it https://identity-preview.inl.gov/.well-known/openid-configuration)
On the latest version.