Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.91 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.91 KB

Authentication with React.js and Keycloak

Maintainability Known Vulnerabilities

Simple authentication "username password" form with keycloak

Tech stack

image image image image image

First step

Docker command to create all containers:

docker-compose up

alt text

Connect you to keycloak at http://localhost:8080 with user:admin and password: Pa55w0rd

  1. Add Realm:
  • realm ID: authentication_keycloak_react
  1. Add user and user credentials:
  • username:test
  • email:[email protected]
  • check "email verified"
  • Create a credential for this user: test
  1. Add client:

Connect you to pgAdmin at http://localhost:6084 with email:[email protected] and password:root

  1. Connect your created db with this script 0-init-keycloak-database.sh launch with docker-compose command
  • Register a server named keycloak with host:postgres , user:keycloak and password:password