-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Keycloak #153
Add Keycloak #153
Conversation
I have noticed that in versions of Node above v18 the code doesn't run. I have decided to replace ts-node and nodemon with tsx and tsc-watch. The programming experience is practically the same, just using different tools. |
Closes #31.
Some things have changed, most notably:
backend/src/users.ts
for better readability and reuse.js
.keycloak
. It has to be run in development if the user provider infrontend/main.tsx
is set to<KeycloakUserProvider>
.[email protected]
and passwordpassword
.<Protected>
tag. It automatically redirects if the user is not logged in and allows for easy access of the logged in user without checking whether it's null first (useProtected
context).The frontend tests will have to be changed to test the Keycloak functionality. Maybe @Piterson25 could pull this branch and put his fixes there?
Let me know if any changes have to be made, I might have missed something obvious.