Skip to content
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

Adding Keycloak and basic Routing #8

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Adding Keycloak and basic Routing #8

wants to merge 6 commits into from

Conversation

niclasheun
Copy link
Contributor

Description

This merge request introduces the following key features and enhancements:

Keycloak Integration:

  • Implemented a KeycloakProvider and useKeycloak hook for handling authentication.
  • Added user state management with zustand to manage user and permissions.
  • Implemented logout functionality, including session and local storage cleanup.

Basic Routing

  • Introduced react-router-dom for routing across the app.
  • Added routes for LandingPage, ManagementRoot, and TemplateComponent.

Management Console:

  • Base structure for the new management console (as in old Prompt)
  • Added permission checks and a fallback for unauthorized access with UnauthorizedPage.

Added dependencies: keycloak-js, zustand, jwt-decode.

@niclasheun niclasheun mentioned this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant