Skip to content

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