Skip to content

sewah2012/springboot-authorization-server-oauth2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot2 & Spring Security5 & OAuth2

This project is the basic Oauth2 authentication server implementation.

Getting Started

./gradlew clean bootrun

Send HTTP request to get "access_token"

  • In order to get Authorization header, set Basic Auth: username: crown, password: thisissecret
curl --location --request POST 'http://localhost:8080/auth/oauth/token' \
--header 'Authorization: Basic Y3Jvd246dGhpc2lzc2VjcmV0' \
--header 'Content-Type: multipart/form-data; boundary=--------------------------101092311882977839110112' \
--form 'grant_type=password' \
--form 'scope=webclient' \
--form 'username=john.carnell' \
--form 'password=password'

Reference Documentation

For further reference, please consider the following sections:

Additional Links

These additional references should also help you:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%