Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lowercasing URLs in OIDC discovery endpoint causes compatibility issues with custom thirdparty SSO #537

Open
gaurpulkit opened this issue Oct 30, 2024 · 0 comments

Comments

@gaurpulkit
Copy link

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.

I removed the lower method from this line

def normalise_url_path_or_throw_error(input_str: str) -> str:
    input_str = input_str.strip().lower()

and then it started working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant