Closed visakhvjn closed 5 months ago
Implement the JWT mechanism
The auth module should have the following endpoints
POST /auth
{ email: <string>, password: <string> }
POST /auth/refresh Token needed: Refresh Token
1 day
30 days
Response
{ accessToken: <string>, refreshToken: <string> }
Implement the JWT mechanism
The auth module should have the following endpoints
POST /auth
POST /auth/refresh Token needed: Refresh Token
1 day
and refresh token expiry to30 days
Response