Skip to content

OAuth authentication using vertx-auth-oauth2 and Keycloak

Notifications You must be signed in to change notification settings

jmaciel33/sample-vertx-keycloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample with vertx and keycloak

OAuth authentication using vertx-auth-oauth2 and Keycloak

Starting Keycloak with docker:

Docker Hub: jboss/keycloak

  • Expose on localhost and Creating admin account

docker run -p 8080:8080
           -e KEYCLOAK_USER=<USERNAME> 
           -e KEYCLOAK_PASSWORD=<PASSWORD> 
           jboss/keycloak
  • Sample
docker run -p 8080:8080
           -e KEYCLOAK_USER=admin 
           -e KEYCLOAK_PASSWORD=admin 
           jboss/keycloak
  • Starting sample-vertx-keycloak:
mvn clean package
  • Starting app
mvn clean compile exec:exec -q
  • Payload

{ "username":"julio", "password":"julio" }

About

OAuth authentication using vertx-auth-oauth2 and Keycloak

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages