Multi-Tenant Resource Server
Last updated
Last updated
This bonus lab demonstrates the feature of Spring Security.
To start the resource server just run the class com.example.multitenant.MultiTenantServerAppApplication.
This resource server just provides one API at . The API is secured and is only accessible by specifying a bearer JSON web token as Authorization header.
The resource server is configured as multi-tenant and as such it accepts access tokens by the following identity providers:
Auth0 with Issuer
Okta with Issuer
To call the API use the following commands ( or ). You may also use instead if you like a UI more,
httpie
curl
To get an access token from use one of the following commands.
httpie
curl
httpie
curl
To get an access token from use one of the following commands.