Skip to content
Yahyaoo edited this page Apr 8, 2019 · 3 revisions

Welcome to the Spring-Security-oauth2 wiki!

Introduce

This is an example of spring security OAuth2 authorization that includes asymmetric encryption, JWT, and more.

I'm going to show you how to configure it and how it works. Okay

Requirements

  • JDK8
  • Spring Framework4.0.8+ (optional, with annotation support)
  • Spring Boot1.1.9+ (optional)

Running

  1. Import SQL at: https://github.com/yahyaoo/Spring-Security-oauth2/blob/master/schema.sql
  2. Modify server-authorized application.yml file.Modify the datasource url to your mysql database address.
  3. Modify client1 and client2 application.yml.Modify the IP address of oauth2 authorized server respectively
  4. running....

Documents

  1. Key pair management

Clone this wiki locally