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
In the get_oidc_discovery_info function, while doing npath = NormalisedURLPath(issuer), it converts the URL to lowercase, resulting in an error for Duo SSO's OIDC discovery endpoint as the lowercased URL doesn't work.
Hi @gaurpulkit ,
Could you give us a reproducer for this issue?
A snippet of the provider you're trying to setup and the URL being passed to the normalise_url_path_or_throw_error would help.
The fix for your issue is quite straightforward as seen in your PR, but the impacts might be far-reaching and would need to be made consistent across our SDKs.
You can create a Cisco Duo account and attempt to set up authentication using the OIDC discovery endpoint they provide, but this will result in an error.
I forked the repository with the recommended fix, and it's now working properly. So far, I haven’t noticed any issues or side effects.
In the
get_oidc_discovery_info
function, while doingnpath = NormalisedURLPath(issuer)
, it converts the URL to lowercase, resulting in an error for Duo SSO's OIDC discovery endpoint as the lowercased URL doesn't work.I removed the lower method from this line
and then it started working fine.
The text was updated successfully, but these errors were encountered: