Skip to content

Instantly share code, notes, and snippets.

@dohaivu
Last active May 25, 2018 07:11
Show Gist options
  • Save dohaivu/5134d47f35dc461a7bb86ee321cc2ab4 to your computer and use it in GitHub Desktop.
Save dohaivu/5134d47f35dc461a7bb86ee321cc2ab4 to your computer and use it in GitHub Desktop.
[OAuth] OAuth2, keycloak server oauth, jwt, openid connect

Library

OAuth2 flows

Keycloak

# run
./bin/standalone.sh -b 0.0.0.0

# http://localhost:8080/auth # admin/123456

Endpoints

http://localhost:8080/auth/realms/{realm}/.well-known/openid-configuration
http://localhost:8080/auth/realms/{realms}/protocol/openid-connect/userinfo
https://localhost:8080/auth/realms/{realms}/protocol/openid-connect/auth
https://localhost:8080/auth/realms/{realms}/protocol/openid-connect/userinfo
https://localhost:8080/auth/realms/{realms}/protocol/openid-connect/token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment