How to Implement Email Login with Time-Sensitive Tokens in Django-Allauth #4149
Replies: 2 comments
-
See https://docs.allauth.org/en/latest/account/configuration.html -- specifically, The user does need to copy/paste it -- there is no link. This is by design, done both for increased UX and security. The UX issue is that users often receive the code on a mobile device, and clicking a link there opens a different browser, disturbing the flow. The other is security -- with the current approach, another user intercepting the email cannot login as you need to have both the code and the open browser window where the code needs to be inputted. |
Beta Was this translation helpful? Give feedback.
-
ok, but what about if want to replace the code with link that contain jwt token instead of the code ? is it possible or not |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I’m looking to implement a secure email-based login process using Django-Allauth with the following workflow:
Is there a recommended way to achieve this using Django-Allauth? Any advice or references would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions