Simple authentication "username password" form with keycloak
Docker command to create all containers:
docker-compose up
Connect you to keycloak at http://localhost:8080
with user:admin
and password: Pa55w0rd
- Add Realm:
- realm ID:
authentication_keycloak_react
- Add user and user credentials:
- username:
test
- email:
[email protected]
- check "email verified"
- Create a credential for this user: test
- Add client:
- Client ID:
authentication_keycloak_react
- url: http://localhost:3000
- redirect uri: http://localhost:*
- logout: http://localhost:*
Connect you to pgAdmin at http://localhost:6084
with email:[email protected]
and password:root
- Connect your created db with this script
0-init-keycloak-database.sh
launch withdocker-compose
command
- Register a server named
keycloak
with host:postgres
, user:keycloak
and password:password