pallets-eco / flask-security

Quick and simple security for Flask applications
MIT License
649 stars 154 forks source link

OAuth Providers 2FA Redirect #951

Closed AI-OQC closed 3 months ago

AI-OQC commented 8 months ago
jwag956 commented 8 months ago

Do you have SECURITY_REDIRECT_BEHAVIOR set to "spa" - in that case - in 5.4.1 the redirect was changed to go to POST_OAUTH_LOGIN_VIEW to solve this exact problem. If REDIRECT_BEHAVIOR not set - then it goes to SECURITY_POST_LOGIN_VIEW

jwag956 commented 3 months ago

PLease reopen if still an issue and you have a reproducable test case.

Thanks!