Friday, February 26, 2021

Advice on self service password reset?

Hello ,
I would like to write self service password service for our organization , the identity source is our active directory.
To accomplish this task i choose to use ldap3 library , reset password procedure would be simple template with enter your mail , backend will look for email user attribute existence, if it is will send token temporary for x amount of time url to user email, that would let him eventually reset password template .
I know that Django have internal mechanism for user s reset password such as
from django.contrib.auth.tokens import PasswordResetTokenGenerator
But I guess this is not relevant for my use case , my question/advice I would like to get is.
How to accomplish such task what library ,mechanism and logic should i use ?
Please advice
Thanks

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5b81ac5e-b649-4e3f-98fb-21c3164640dan%40googlegroups.com.

No comments:

Post a Comment