Skip to content

Forbid URL fragments in redirect_uris#729

Merged
lepture merged 2 commits intoauthlib:mainfrom
azmeuk:714-redirect-uri-fragments
Apr 2, 2025
Merged

Forbid URL fragments in redirect_uris#729
lepture merged 2 commits intoauthlib:mainfrom
azmeuk:714-redirect-uri-fragments

Conversation

@azmeuk
Copy link
Member

@azmeuk azmeuk commented Mar 30, 2025

This PR prevents registration of clients with redirect_uris containing fragments.

Fixes #714
What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

  • You consent that the copyright of your pull request source code belongs to Authlib's author.

@azmeuk azmeuk added bug role:authorization_server Concerns a server implementation labels Mar 30, 2025
@azmeuk azmeuk changed the title forbid fragments in redirect_uris Forbid fragments in redirect_uris Apr 2, 2025
@azmeuk azmeuk changed the title Forbid fragments in redirect_uris Forbid URL fragments in redirect_uris Apr 2, 2025
@lepture lepture merged commit 29fbe66 into authlib:main Apr 2, 2025
7 checks passed
@azmeuk azmeuk deleted the 714-redirect-uri-fragments branch April 13, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

role:authorization_server Concerns a server implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Client redirect_uri must not have fragment specifier at client registration

2 participants