Skip to content

Dockerize simple authentication with keycloak, react router and react.js

Notifications You must be signed in to change notification settings

6LpUkQSgQm/authentication-keycloak-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:test@test.com
  • check "email verified"
  • Create a credential for this user: test
  1. Add client:

Connect you to pgAdmin at http://localhost:6084 with email:admin@admin.com 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

About

Dockerize simple authentication with keycloak, react router and react.js

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •