Skip to content

Commit

Permalink
perf(pencil): adding best practices for jwt authentication
Browse files Browse the repository at this point in the history
BREAKING CHANGE: the authentication mecanisms doesn't use just the cookies alone anymore. it is more robust with combining refresh and accessTokens
  • Loading branch information
youssef.el-mkhantar committed Mar 22, 2024
1 parent 817ce0e commit 52bc11d
Show file tree
Hide file tree
Showing 6 changed files with 249 additions and 68 deletions.
214 changes: 195 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@
"@mui/icons-material": "^5.14.11",
"@mui/material": "^5.14.11",
"@reduxjs/toolkit": "^1.9.5",
"@types/jsonwebtoken": "^9.0.6",
"@types/jwt-decode": "^3.1.0",
"@types/react-datepicker": "^4.11.2",
"@types/react-mic": "^12.4.3",
"axios": "^1.4.0",
"dotenv": "^16.0.3",
"env-cmd": "^10.1.0",
"jsonwebtoken": "^9.0.2",
"jwt-decode": "^3.1.2",
"react": "^18.2.0",
"react-datepicker": "^4.14.0",
Expand Down
Loading

0 comments on commit 52bc11d

Please sign in to comment.