I'm using:
Django==3.2.9
djangorestframework==3.12.4
djangorestframework-simplejwt==5.0.0
I want to make a login system that takes either username or email and password as a parameter from a user. After that authenticate a user with those credentials and provide access & refresh token as a response.
And I want to use access and refresh tokens use the JWT token system of djangorestframework-simplejwt.