Okta Spring Boot Starter

Okta 的 Spring Boot Starter 将使您的 Spring Boot 应用程序能够通过 OAuth 2.0/OIDC 与 Okta 一起使用。「Okta's Spring Boot Starter will enable your Spring Boot application to work with Okta via OAuth 2.0/OIDC.」

Github stars Tracking Chart


Maven Central
License
Support

Okta Spring Boot Starter

Okta's Spring Boot Starter will enable your Spring Boot application to work with Okta via OAuth 2.0/OIDC. Jump to our quickstart to see how to configure various clients or follow along below to use curl.

NOTE: This library works with Spring Boot 2.1+. If you need support for Spring Boot 1.5.x, use version version 0.6.

What you need

Include the dependency

For Apache Maven:

<dependency>
    <groupId>com.okta.spring</groupId>
    <artifactId>okta-spring-boot-starter</artifactId>
</dependency>

For Gradle:

compile 'com.okta.spring:okta-spring-boot-starter'

Supporting client side applications - OAuth Implicit flow

Are you writing a backend endpoints in order to support a client side application? If so follow along, otherwise skip to the next section.

Configure your properties

You can configure your applications properties with environment variables, system properties, or configuration files. Take a look at the Spring Boot documentation for more details.

Main metrics

Overview
Name With Ownerokta/okta-spring-boot
Primary LanguageJava
Program languageJava (Language Count: 3)
PlatformBSD, Cross-platform, Linux, Mac, Solaris, Windows
License:
所有者活动
Created At2017-07-21 17:15:55
Pushed At2025-09-09 09:11:44
Last Commit At2025-07-21 11:02:29
Release Count34
Last Release Nameokta-spring-boot-parent-3.0.7 (Posted on 2024-06-21 12:18:21)
First Release Nameokta-spring-security-parent-0.1.0 (Posted on 2017-08-11 11:39:06)
用户参与
Stargazers Count350
Watchers Count96
Fork Count145
Commits Count1k
Has Issues Enabled
Issues Count163
Issue Open Count20
Pull Requests Count504
Pull Requests Open Count15
Pull Requests Close Count161
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private