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

Verlusia.Server maxAge is handled incorrectly for MaxAge 0 #351

Open
1 task done
schmitch opened this issue Feb 20, 2025 · 0 comments
Open
1 task done

Verlusia.Server maxAge is handled incorrectly for MaxAge 0 #351

schmitch opened this issue Feb 20, 2025 · 0 comments
Labels

Comments

@schmitch
Copy link

schmitch commented Feb 20, 2025

Confirm you've already contributed to this project or that you sponsor it

  • I confirm I'm a sponsor or a contributor

Version

all

Describe the bug

See here: https://github.com/openiddict/openiddict-samples/blob/dev/samples/Velusia/Velusia.Server/Controllers/AuthorizationController.cs#L65

according to the spec Note that max_age=0 is equivalent to prompt=login but that is not 100% correct, because if I use max_age=0 I will have an endless loop, because if max_age=0 the prompt values needs to be removed when creating the redirect_uri as well

To reproduce

run velusia example call the client with max_age=0

Exceptions (if any)

none, you will just redirected infidentily

@schmitch schmitch added the bug label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant