{"repo":"anexia-it/django-rest-passwordreset","free":true,"listed":false,"github":"https://github.com/anexia-it/django-rest-passwordreset","clone":"git clone https://github.com/anexia-it/django-rest-passwordreset.git","description":"An extension of django rest framework, providing a configurable password reset strategy","language":"Python","stars":435,"topics":["django","django-rest-framework","password-reset","hacktoberfest"],"license":"BSD-3-Clause","category":"api-integrations-sdks","readme_excerpt":"Django Rest Password Reset This python package provides a simple password reset strategy for django rest framework, where users can request password reset tokens via their registered e-mail address. The main idea behind this package is to not make any assumptions about how the token is delivered to the end-user (e-mail, text-message, etc...). Instead, this package provides a signal that can be reacted on (e.g., by sending an e-mail or a text message). This package basically provides two REST endpoints: Request a token Verify (confirm) a token (and change the password) Quickstart 1. Install the package from pypi using pip: 2. Add django rest passwordreset to your INSTALLED APPS (after rest framework ) within your Django settings file: 3. This package stores tokens in a separate database table (see django rest passwordreset/models.py). Therefore, you have to run django migrations: 4. This package provides three endpoints, which can be included by including django rest passwordreset.urls in your urls.py as follows: Note : You can adapt the URL to your needs. Endpoints The following endpoints are provided: POST ${API URL}/ - request a reset password token by using the email parameter POST ${API URL}/confirm/ - using a valid token , the users password is set to the provided password POST ${API URL}/validate token/ - will return a 200 if a given token is valid where ${API URL}/ is the url specified in your urls.py (e.g., api/password reset/ as in the example above) Invalid, expired","default_branch":null,"files":null,"tree":[],"storefront":"/r/anexia-it","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/anexia-it/django-rest-passwordreset/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}