Skip to content

Integrate Keycloak authentication #8

Description

@sdley
  • Add the spring-boot-starter-security and spring-boot-starter-oauth2-resource-server dependencies to the project.​
  • Deploy Keycloak (often in Docker) and configure a realm, client, and roles (admin, client, agent) as needed.​
  • In the Spring Boot application, configure Keycloak integration in the application.properties file and update the code to map roles/authorities appropriately.​
  • Assign users to roles in Keycloak and update the backend logic to enforce role-based access.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions