dasniko / quarkus-keycloak

Demos on how to secure a Quarkus service/app with proper Keycloak authentication & doing tests with Testcontainers-Keycloak project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quarkus & Keycloak

Securing your service with proper authentication

This is the corresponding repository to my YouTube videos about securing a Quarkus service/app with proper authentication with the help of Keycloak.

Most basic configuration/implementation with Bearer-only token for REST endpoints

  • UsersResource - endpoints secured for authenticated users with the user role.
  • AdminResource - endpoint secured only for authenticated users with the admin role.
  • Unit/integration tests for all the endpoints (running Keycloak server in environment necessary).

Proper Integration Testing with testcontainers-keycloak

https://github.com/dasniko/testcontainers-keycloak

About

Demos on how to secure a Quarkus service/app with proper Keycloak authentication & doing tests with Testcontainers-Keycloak project.

License:MIT License


Languages

Language:Java 100.0%