Skip to content

vikasdhiman0635/okta-spring-social-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Login with Spring Boot 2.0

This example app shows how to add social login to a Spring Boot app with Okta.

Please read Add Social Login to Your Spring Boot 2.0 App to see how this app was created.

Prerequisites: Java 8 and an Okta Developer Account.

Okta has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure. Okta's intuitive API and expert support make it easy for developers to authenticate, manage, and secure users and roles in any application.

Getting Started

You will need to create an OIDC Application in Okta to get your settings to perform authentication.

  1. Log in to your developer account on developer.okta.com.
  2. Navigate to Applications and click on Add Application.
  3. Select Web and click Next.
  4. Give the application a name, add http://localhost:8080/authorization-code/callback as a Login redirect URI, and click Done.
  5. Edit the project and enable "Implicit (Hybrid)" as a grant type and click Save.

Copy src/main/resources/application.template.yml to src/main/resources/application.yml and fill in the necessary information.

See these instructions to complete your social login setup.

Links

This example uses the following open source libraries:

Help

Please post any questions as comments on the blog post, or visit our Okta Developer Forums. You can also email [email protected] if you'd like to create a support ticket.

License

Apache 2.0, see LICENSE.

Releases

No releases published

Packages

No packages published

Languages

  • Java 48.6%
  • HTML 48.3%
  • CSS 3.1%