Skip to content

huyinsong/oauthserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oauthserver

1 Preparation

Download a mysql. 
Import oauthserver.sql located src/main/resources
Fill in the database info in src/main/resources/application.properties.

3 run oauthserver

4 open a RestAPI client and fill in information

url http://localhost:9090/oauthserver/oauth/token
Method: post
header: username: testclient password: testclient
request body type : form
request body: 
   username: admin
   password: admin
   grant_type: password
   scope: admin

other resources:

https://www.baeldung.com/spring-security-oauth-jwt
https://github.com/Baeldung/spring-security-oauth 

Notice: Using buildship to build gradle project

You can download buildship from eclipse Marketplate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages