Requirements
- An account in Auth0
API_URLis the public DNS name of the hoop gateway instance
API_URL address.
Identity Provider Configuration
Create an Application
Create a new application
- Go to Applications > Applications and click on the Create Application button
- Select a Regular Web Application
Configure the Redirect URIs
- Allowed Callback URLs:
{API_URL}/api/callback - Allowed Logout URLs:
{API_URL}/api/logout
Collect Issuer Information
- In the Application Home > Settings, copy the Domain.
- The issuer url is in the format
https://{YOUR_DOMAIN}
Configure Hoop Gateway
- Web App
- API
Go to Integrations > Authentication and fill in:
- Auth Method: OIDC
- Issuer URL:
https://{YOUR_DOMAIN} - Client ID: the Client ID from above
- Client Secret: the Client Secret from above
- Audience (optional): the API Audience from above
- Groups Claim:
groups(or the custom claim name you configured)