Is there a Django authentication backend for access via temporary links?

I am looking for a way to authenticate users using their email addresses without requiring passwords. This method should involve sending temporary authentication links to the user’s email. Does anyone know of an existing solution, or would I need to implement this feature myself?

hey, that’s a cool idea! have you looked into django allauth? it’s quite customizable and might have what ur looking for with email verifications, only tweak might be to make it act as temp access. what kind of security measures r u thinkin about implementing with this?

you could check out django-rest framework with simplejwt for token-based auth, tweak it for temp links. may need some coding but gives more flexibility. heard some use pyjwt for link creation, but remember keep security top priority with emails :slightly_smiling_face:

Implementing temporary link authentication can definitely enhance user experience by eliminating the need for passwords. Though you might not find an out-of-the-box solution specifically for temporary email links, you could look into the Django tool “django-temporary-email” which allows you to send email-based login links. You would need to handle the link expiration and verification logic yourself. This can offer a secure and convenient approach, but make sure to carefully handle the expiration times and one-time-use conditions of these links to maintain user account security.