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

Validate post_logout_redirect_uri against wildcards #2166

Closed
spwitt opened this issue Mar 20, 2023 · 1 comment
Closed

Validate post_logout_redirect_uri against wildcards #2166

spwitt opened this issue Mar 20, 2023 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@spwitt
Copy link

spwitt commented Mar 20, 2023

Validate post_logout_redirect_uri against wildcards

Description

FusionAuth 1.43.0 introduced the ability to provide wildcards for authorized redirect and origin URLs in the OAuth configuration.

The post_logout_redirect_uri is validated against authorized redirect URLs, but it requires an exact match to a configured value instead of validating against wildcards even when URL Validation is set to AllowWildcards.

Affects versions

1.43.0+

Steps to reproduce

Steps to reproduce the behavior:

  1. Application OAuth Configuration
  2. Set URL Validation to "Allow wildcards"
  3. Add an authorized redirect URL containing a wildcard (e.g. https://example.com/*)
  4. Add a logout URL that matches the pattern (e.g. https://example.com/logout)
  5. Complete an OAuth logout workflow
  6. Browser is redirected to https://example.com/logout
  7. An error is displayed for invalid_post_logout_redirect_uri

Expected behavior

post_logout_redirect_uri should be validated according to wildcard rules when URL validation is set to "Allow wildcards".

Screenshots

image

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

Related

Additional context

@robotdan
Copy link
Member

robotdan commented Apr 12, 2023

Closing as duplicate. Will fix under #2164.

@robotdan robotdan added the duplicate This issue or pull request already exists label Apr 12, 2023
@robotdan robotdan added this to Backlog in FusionAuth Issues via automation Apr 12, 2023
@robotdan robotdan removed this from Backlog in FusionAuth Issues Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants