-
Notifications
You must be signed in to change notification settings - Fork 99
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
LoginLink functionality #664
Comments
It looks like there are few components to a login flow like this:
Do we need storage for tokens? It seems like a signed token could contain the identifier, expiration time. If we wanted to support a limited number of token uses, we could store that data in a cache backend instead of requiring formal schema. |
For the old auth component I built a token based system, that stores the token in DB But for this kind of plugin here it seems the Symfony style with a hash and all params contained seems sufficient. |
I'm biased to stateless tokens as they are simpler to get going and can offer the same level of security as stateful ones can (with some caching). |
This issue is stale because it has been open for 120 days with no activity. Remove the |
See https://symfony.com/doc/current/security/login_link.html
probably similar to the Token authenticate, but more stateful, and probably with a similar hashing algo.
The database approach would be something that could be custom user land plugin.
The text was updated successfully, but these errors were encountered: