All Projects → oktadev → okta-spring-boot-authz-server-example

oktadev / okta-spring-boot-authz-server-example

Licence: Apache-2.0 license
Spring Security OAuth 2.0 Guide

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to okta-spring-boot-authz-server-example

oauth-boot
spring-boot and spring oauth2
Stars: ✭ 111 (+85%)
Mutual labels:  spring-security, spring-security-oauth2
okta-jhipster-microservices-oauth-example
A microservices architecture built with JHipster, OAuth 2.0, and Okta
Stars: ✭ 29 (-51.67%)
Mutual labels:  spring-security, spring-security-oauth2
MyNewProject
Legacy Spring MVC
Stars: ✭ 19 (-68.33%)
Mutual labels:  spring-security, spring-security-oauth2
Diber-backend
Delivery Service - Spring Boot / Spring Data Jpa / Hibernate / PostgreSQL / OAuth2 Application
Stars: ✭ 22 (-63.33%)
Mutual labels:  spring-security, spring-security-oauth2
Cloud-Native-App-Spring-Boot
A Cloud Native App with Spring Coud Security with KeyCloak Auth Server, API Gateway Server, Naming Server, Config Server and Distributed Tracing and ELK Stack hosted in K8s
Stars: ✭ 19 (-68.33%)
Mutual labels:  spring-security, spring-security-oauth2
Oauth2-Stateless-Authentication-with-Spring-and-JWT-Token
Oauth2 Stateless Authentication with Spring and JWT Token
Stars: ✭ 108 (+80%)
Mutual labels:  spring-security, spring-security-oauth2
spring-security-oauth2-client-example
Minimal configuration required for a Spring Boot project using Spring Security with OAuth2 client
Stars: ✭ 20 (-66.67%)
Mutual labels:  spring-security, spring-security-oauth2
springboot-vue.js-bbs
Spring Boot, Vue.js
Stars: ✭ 43 (-28.33%)
Mutual labels:  spring-security, spring-security-oauth2
spring-oauth-server
Deep Integrate Spring Security & OAuth2
Stars: ✭ 80 (+33.33%)
Mutual labels:  spring-security-oauth2
Taroco-Authentication
Taroco-Authentication 统一认证服务
Stars: ✭ 49 (-18.33%)
Mutual labels:  spring-security
express
快递代拿系统,SpringBoot的最佳实践
Stars: ✭ 178 (+196.67%)
Mutual labels:  spring-security
spring-tiles-sample-app
Spring MVC - Apache Tile - AdminLTE Bootstrap template - Sample Application
Stars: ✭ 33 (-45%)
Mutual labels:  spring-security
JavaFamily
【Java面试+Java学习指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。
Stars: ✭ 517 (+761.67%)
Mutual labels:  spring-security
spring-boot-jwt-auth
🔑 Sample Spring boot application secured using JWT auth in custom header(X-Auth-Token).
Stars: ✭ 57 (-5%)
Mutual labels:  spring-security
zealsay backend
Spring Boot 快速开发脚手架,以博客论坛为示例展示,后台主要使用Spring Boot,Spring Security,Mybatis-plus,redis token,前端使用Nuxt,Vue,Vuex,Vue-Router,Vuetify。
Stars: ✭ 58 (-3.33%)
Mutual labels:  spring-security
learn
一个学习使用的综合项目。实现方案为spring cloud alibaba
Stars: ✭ 38 (-36.67%)
Mutual labels:  spring-security
springboot-rest-api-angularjs-https
REST API https with Spring Boot and Angular JS. Use MySQL, Hibernate and Spring Security.
Stars: ✭ 38 (-36.67%)
Mutual labels:  spring-security
zainabed-spring-security-jwt
Authentication & Authorization module for standalone Spring Boot app or Spring Cloud applications
Stars: ✭ 24 (-60%)
Mutual labels:  spring-security
admin-api
springBoot jwt swagger集成的一套管理后台api
Stars: ✭ 35 (-41.67%)
Mutual labels:  spring-security
OnlineStore
REST api for an online store using microservices architecture.
Stars: ✭ 27 (-55%)
Mutual labels:  spring-security

Spring Security OAuth 2.0 Guide

This example shows how to create a Authorization Server with Spring Security and OAuth 2.0.

Please read A Quick Guide to OAuth 2.0 with Spring Security for a tutorial that shows you how to build the applications in this repo.

Prerequisites: Java 8 or 11.

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

To install this example application, run the following commands:

git clone https://github.com/oktadeveloper/okta-spring-boot-authz-server-example.git
cd okta-spring-boot-authz-server-example

Create an Okta Developer Account

If you don't have one, create an Okta Developer account. After you've completed the setup process, log in to your account and navigate to Applications > Add Application. Click Web and Next. On the next page, enter a name for your app (e.g., "Okta OAuth Client"), then click Done.

Update the OktaOAuthClient/src/main/resources/application.yml to have your new app's settings:

okta:
  oauth2:
    issuer: https://{yourOktaDomain}/oauth2/default
    client-id: {yourClientId}
    client-secret: {yourClientSecret}

Start the OktaOAuthClient app using Gradle.

cd OktaOAuthClient
./gradlew bootRun

After everything starts, you should be able to log in with your credentials at http://localhost:8080.

Links

This example uses the following open source projects:

Help

Please post any questions as comments on this repo's blog post, or visit our Okta Developer Forums.

License

Apache 2.0, see LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].