Base API using Spring Boot with OAuth2 Security.
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
This API can made an service and a resource using ResourceMaker and ServiceMaker.
Pageable example params: ?pageable&page=0&size=5&sort=id,desc