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

Closed mehalyna closed 5 months ago

mehalyna commented 5 months ago

Objective: Integrate JWT authentication into the Django project for secure user authentication.

Sub-Tasks:

  1. Install Required Packages:

    • Install packages like djangorestframework-jwt or djangorestframework-simplejwt.
  2. Configure Settings:

    • Update the Django settings to include the JWT authentication class in the DEFAULT_AUTHENTICATION_CLASSES.
  3. JWT Settings Configuration:

    • Configure JWT settings, like token expiration time, token refresh, and secret key.

US: #3