Skip to content

PKCE Authorization Code Flow is used in the frontend(React) and Bearer-Only is used in the backend(Quarkus)

License

Notifications You must be signed in to change notification settings

KerimAksak/keycloak-react-quarkus

Repository files navigation

keycloak-react-quarkus

Installation - Keycloak

-----------------------------------------------------

Requirements


  • Docker
  • Docker-Compose

Start Keycloak Server;

~ docker-compose -f keycloak-postgres.yml up -d

Admin Credentials


Username: admin

Password: Pa55w0rd

You can find all the details about(POSTGRES_USER&POSTGRES_PASSWORD&KEYCLOAK_USER&KEYCLOAK_PASSWORD) Keycloak in the keycloak-postgres.yml file.

User Credentials


Username Password Role
kerim kerim USER
test test NONE

Keycloak Realm Config


Steps to import demo-realm-export.json file into Keycloak.

  • [Select File] -> demo-realm-export.json

keycloak-realm-config

Installation - Frontend

-----------------------------------------------------

~ cd keycloak-frontend~ npm install~ npm start dev

Starting the development server from http://localhost:3000

Installation - Backend

-----------------------------------------------------

~ cd keycloak-backend~ ./mvnw quarkus:dev

Starting the development server from http://localhost:9090

About

PKCE Authorization Code Flow is used in the frontend(React) and Bearer-Only is used in the backend(Quarkus)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published