Skip to content

gustavovitor/api-base-oauth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base OAuth2

Base API using Spring Boot with OAuth2 Security.

Resources:

OAuth2 login: localhost:8080/oauth/token
To get an token, send a request with a Basic Auth:

Login: oauth2-client-api
Pass: Y%bXQ#<5,p~[Vk9bb&&X9rsw7V~J`_

With followed header Content-Type: application/x-www-form-urlencoded and set-up the followed body:

username: admin@admin.com
password: 1
grant_type: password

Token Revoke: localhost:8080/token/revoke

Service Maker and Resource Maker

This API can made an service and a resource using ResourceMaker and ServiceMaker.

Pageable example params: ?pageable&page=0&size=5&sort=id,desc

About

API base para OAuth2 feito com Spring Boot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published