spring-oauth2-sample | 中文文档
This project is a collection of Spring Authorization Server example tutorials. It builds on top of Spring Security 6, 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!
- 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
- OAuth 2.0 Device Authorization Grant
- Register a client dynamically
- How to Protect and Manage Spring Authorization Server JWT Keys with Vault
- ...
Project Branch | Spring Security | Spring Authorization Server |
---|---|---|
main | 6.2.7 | 1.3.0 |
1.2.1 | 6.1.5 | 1.2.1 |
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 |
spring-oauth2-sample uses a Maven based build system.
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.
git clone git@github.com:ReLive27/spring-security-oauth2-sample.git
./mvn clean install -Dmaven.test.skip=true
Pull requests are welcome.
spring-oauth2-sample is Open Source software released under the Apache 2.0 license.