Membrane Backend: A centralized authentication service for Single Sign-On (SSO) enabling seamless token-based email verification across multiple client applications.
MIT License
1
stars
0
forks
source link
Provide Option for Always Redirecting to membrane-backend for Authentication #87
The current membrane_login_required decorator checks if a user is logged in using flask_login's login_required. This may not suit all scenarios; there are use-cases where we'd want to always redirect to membrane-backend for authentication, regardless of login status.
Proposed Solution
Introduce a new decorator or an option within membrane_login_required for always redirecting to membrane-backend.
The current
membrane_login_required
decorator checks if a user is logged in usingflask_login
'slogin_required
. This may not suit all scenarios; there are use-cases where we'd want to always redirect tomembrane-backend
for authentication, regardless of login status.Proposed Solution
Introduce a new decorator or an option within
membrane_login_required
for always redirecting tomembrane-backend
.