Skip to content

sujee81/samples-java-spring

 
 

Repository files navigation

Spring Security OAuth Sample Applications for Okta

This repository contains several sample applications that show you how to integrate various Okta use-cases into your Java application that uses the Spring framework.

Please find the sample that fits your use-case from the table below.

Sample Description Use-Case
Okta-Hosted Login An application server that uses the hosted login page on your Okta org, then creates a cookie session for the user in the Spring application. Traditional web applications with server-side rendered pages.
Custom Login Page An application server that uses the Okta Sign-In Widget on a custom login page within the application, then creates a cookie session for the user in the Spring application. Traditional web applications with a custom login page and server-side rendered pages.
Resource Server This is a sample API resource server that shows you how to authenticate requests with access tokens that have been issued by Okta. Single-Page applications.
Front End (bonus) A simple static Single-Page application that can be used with the resource-server Test the above resource server

About

Spring Boot samples

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.7%
  • Batchfile 0.3%