This bonus lab demonstrates the feature of Spring Security.
To start the resource server just run the class com.example.multitenant.MultiTenantServerAppApplication.
Provided API
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,