Rushi Gandhi
|
090f0df3e8
|
Merge branch 'develop' into 915-be-add-middeware-for-verification-of-refresh-token
|
2024-10-17 12:01:43 +05:30 |
|
Rushi Gandhi
|
3e9593fa23
|
Refactor verifyJWT middleware to handle refresh tokens alongside access token
|
2024-10-17 11:58:13 +05:30 |
|
Rushi Gandhi
|
412ac3312b
|
use jwt.verify instead of jwt.decoded to verify authenticity of token
|
2024-10-16 20:20:08 +05:30 |
|
Rushi Gandhi
|
e6068bfdc4
|
Add middleware that verifies refresh token
|
2024-10-16 18:27:29 +05:30 |
|
Rushi Gandhi
|
111f7d5a67
|
remove if/else by using ternary operator
|
2024-10-16 14:13:48 +05:30 |
|
Rushi Gandhi
|
7a3d2619f6
|
add testcases for refresh token
|
2024-10-16 12:46:44 +05:30 |
|
Rushi Gandhi
|
29ce8bb116
|
Refactor issueToken function for issueing the refresh token
|
2024-10-16 12:45:31 +05:30 |
|
Rushi Gandhi
|
cd0160f421
|
Pass whole user object instead of just _id
|
2024-10-15 15:55:29 +05:30 |
|
Rushi Gandhi
|
581b6217a9
|
Update appSetting for refresh token & Update documentation
|
2024-10-15 14:11:47 +05:30 |
|
Rushi Gandhi
|
05c051ae3a
|
Generate refresh token & add it to response
|
2024-10-15 12:30:24 +05:30 |
|