Skip to content

revolunet/oauth2-proxy-keycloak-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

oauth2-proxy-keycloak-demo

This docker-compose setup demonstrates how to protect some web service behind an oauth2-proxy + keycloak authentification.

Local dev setup

  • Add 127.0.0.1 keycloak to your /etc/hosts. this is necessary for the keycloak redirection
  • Run docker-compose up
  • Login to keycloak at http://keycloak:8080 as admin/admin and create a new user in the app-realm realm, and check its "verified email" status.
  • Now try to login with your new user via http://127.0.0.1:3000

Tips

  • To signout from the target app, call /oauth2/sign_out

About

Sample setup for oauth2-proxy + keycloak

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published