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

returnUrl is not handled correctly in case of FIDO2 login #31

Closed
ChristianRiedl opened this issue Jun 10, 2022 · 1 comment
Closed

returnUrl is not handled correctly in case of FIDO2 login #31

ChristianRiedl opened this issue Jun 10, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ChristianRiedl
Copy link

After login redirection is always done to the root page.

The reason is that in the LoginFido2Mfa page the ReturnUrl is not stored.

It can be fixed applying the BindProperty attribute (with GET) in the page model.

[BindProperty(SupportsGet=true)]
public bool RememberMe { get; set; }

[BindProperty(SupportsGet = true)]
public string ReturnUrl { get; set; }
@damienbod damienbod added the bug Something isn't working label Jun 10, 2022
@damienbod
Copy link
Owner

fixed #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants