中文文档
spring-oauth2-sample |This project is a collection of Spring Authorization Server example tutorials. It builds on Spring On top of Security 5, the modules here cover many aspects of Spring Authorization Server.
💡 Note: Don’t forget to give a star🌟 to the project if you like it!
Relevant Articles:
- Using JWT with Spring Security OAuth2
- Custom OAuth2 Authorization Consent Page
- Spring Security Persistent OAuth2 Client
- Spring Security OAuth2 Client Credentials Authorization
- Authorization Code Flow with Proof Key for Code Exchange (PKCE)
- Spring Security OAuth2 Login
- Spring Security and OpenID Connect
- Spring Cloud Gateway Combined with the Security Practice of OAuth2.0 Protocol
- Spring Security OAuth2 implements Simple Key Rotation and Configures Resource Server JWK Cache
- Using Spring Security OAuth2 Authorization Service JWK with Consul Configuration Center
- A Simple Guide to Using Spring Security OAuth2 Opaque Tokens
- Spring Security OAuth2 Introspection Protocol in conjunction with JWT Guide
- Spring Security OAuth 2.0 Authorization Server Combined with Redis implements Access to AccessToken Rate Limits
- Building an OAuth2 Authorization Consent Page with Vue.js
- OAuth2.0 Device Code Authorization Process
- ...
Description of applicable version
Project Branch | Spring Security | Spring Authorization Server |
---|---|---|
1.0.1 | 6.0.2 | 1.0.1 |
0.4.1 | 5.7.7 | 0.4.1 |
0.3.1 | 5.6.3 | 0.3.1 |
Building from Source
spring-oauth2-sample uses a Maven based build system.
Prerequisites
Git and the JDK17 build.
Be sure that your JAVA_HOME
environment variable points to the jdk-17.0.5
folder extracted from the JDK download.
Check out sources
git clone git@github.com:ReLive27/spring-security-oauth2-sample.git
Build and Install the Project:
./mvn clean install -Dmaven.test.skip=true
Contributing
Pull requests are welcome.
License
spring-oauth2-sample is Open Source software released under the Apache 2.0 license.