Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.23 KB

README.md

File metadata and controls

28 lines (25 loc) · 1.23 KB

openid-showcase

Demonstrate shows the flow of open id by listing app steps.

Framework used

  • Spring boot
  • scribejava
  • lombook
  • keycloak

Prerequisite

Running the application

  • Run sh run.sh
    • This will start spring boot application and will give you the link to obtain the authorization code
  • Copy the URL and paste in browser.
  • You will be redirected to keycloak login page.
  • Login using the user and credentials you created in Prerequisite ( 1 ).
  • Post sucessfull login , you will again be redirected ,
    • just grab the code request parameter value from browser address bar ( &code=XXXXX).
  • Paste on console
  • You will see the access token on the console.
  • The application will then try to use this access token to access user profile endpoint.
  • Prints response from server.