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

feat: Implement keycloak protection for /admin endpoints #106

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

Conversation

raarielgrace
Copy link
Contributor

@raarielgrace raarielgrace commented Dec 17, 2024

Pull Request Standards

  • The title of the PR is accurate
  • The title includes the type of change [HOTFIX, FEATURE, etc]
  • The PR title includes the ticket number in format of [NMP-###]
  • Documentation is updated to reflect change

Description

This PR includes the following proposed change(s):

  • Added dummy protected routes to API for the admin dashboard
  • Redirect to /admin on login
  • If user doesn't have admin role, redirect from /admin to landing page
  • Added basic popup modal for error message (styling has some issues, but didn't bother altering in this PR)

Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

@raarielgrace raarielgrace linked an issue Dec 17, 2024 that may be closed by this pull request
6 tasks
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.

Implement Keycloak for Admin Dashboard
1 participant