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

Allow client redirect URI with only a scheme #167

Merged

Conversation

longsleep
Copy link
Collaborator

The redirect URI can have the form protocol:action which is basically just a scheme. This is entirely valid and since such URI do not have a host the validation of the redirect_uri request parameter fails.

This change does no longer check the host part of the URI to be non-empty, fixing client support for clients using such URIs.

Fixes: #161

The redirect URI can have the form `protocol:action` which is basically
just a scheme. This is entirely valid and since such URI do not have a
host the validation of the redirect_uri request parameter fails.

This change does no longer check the host part of the URI to be
non-empty, fixing client support for clients using such URIs.

Fixes: libregraph#161
@longsleep longsleep merged commit 76170f4 into libregraph:master Nov 13, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

URI in RedirectURI isn't accepted
1 participant