Skip to content

Oauth2 Resource Server aka Resource server which can be accessed only after getting the token with respective roles from Authorization Server

Notifications You must be signed in to change notification settings

jinagamvasubabu/Spring-Oauth2-Redis-ResourceServer-Docker

Repository files navigation

Resource Server:

Implemented Resource server using Spring boot and Oauth2 AutoConfigure.

Refer Authorization Server who is responsible of creating tokens with different roles and scopes.

Features:

  • Docker compatable, just execute startup.sh to start the APP. (Simplified Start)
  • It has two endpoints with different scopes and different roles, refer: Endpoints

Sample Curl Requests:

curl -X GET \
  http://localhost:8083/resource/secure/read \
  -H 'Authorization: Bearer 60122134-e39c-4838-ac29-75441e9d660d' \
  -H 'Cache-Control: no-cache'

About

Oauth2 Resource Server aka Resource server which can be accessed only after getting the token with respective roles from Authorization Server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published