Project-Stage-Academy / UA_1155_alpha

UA-1155.Python Project Stage alpha group
3 stars 0 forks source link

Set up jwt authentication in django #4 #29

Closed AlexanderSychev2005 closed 5 months ago

AlexanderSychev2005 commented 5 months ago
  1. Installed package djangorestframework-simplejwt and added to requirements.
  2. Configure settings: Updated the Django settings to include the JWT authentication class in the DEFAULT_AUTHENTICATION_CLASSES.
  3. JWT Settings Configuration: Configured JWT settings, like token expiration time, token refresh, and secret key.