NOTE: Before you run any of the samples, you must complete the prerequisite steps.
- Register your client (web) application using Google API Console. NOTE: For the Authorized Redirect URI enter http://localhost:8080/oauth2/client/google
- Register another client (web) application using GitHub Developer Applications. NOTE: For the Authorized Redirect URI enter http://localhost:8080/oauth2/client/github
- The final step is to enter the Client Id and Client Secret for your registered clients (google and github) in
application.yml
for each sample application.
This sample demonstrates the use of the Nimbus OAuth 2.0 SDK.
This sample demonstrates the use of the Google OAuth Client Library.
This sample demonstrates the use of the Apache Oltu OAuth Client.