Simple JWT is a JSON Web Token authentication plugin for the Django REST Framework.
For full documentation, visit django-rest-framework-simplejwt.readthedocs.io.
This package is a fork of django-rest-framework-simplejwt.readthedocs.io. To prevent conflict in package name I rename the package name to djangorestframework-passwordless-simplejwt. So all the configuration for the base package can be use. You need only use new name as app_name. In this extension I add passwordless mecanism based on calling an API. In the provided aendpoint developer have to define how he/she want to handle passwordless.
You onle need add this line to your settings.py file in base project.
- `OTP_CONFIGS ={
- 'base_url': "https://example.com/api/send.json", 'receptor_key': "receptor", 'message_key': "message",
}`
receptor_key is the value of receptor key in endpoint side.