✨(app-desk) integrate keycloak
Integrate keycloak with the frontend. We use the keycloak-js library to handle the authentication and authorization. We installed Zustand to handle the states of the application. We store the token and auth process in authStore.
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
"@openfun/cunningham-react": "2.4.0",
|
||||
"next": "14.0.4",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0"
|
||||
"react-dom": "18.2.0",
|
||||
"zustand": "4.4.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "6.2.0",
|
||||
@@ -35,6 +36,7 @@
|
||||
"eslint-plugin-testing-library": "6.2.0",
|
||||
"jest": "29.7.0",
|
||||
"jest-environment-jsdom": "29.7.0",
|
||||
"keycloak-js": "23.0.3",
|
||||
"prettier": "3.1.1",
|
||||
"stylelint": "16.1.0",
|
||||
"stylelint-config-standard": "36.0.0",
|
||||
|
||||
Reference in New Issue
Block a user