Oauth2 - Okta
This guide explain how to configure Okta with Hoop.
Requirements
- Hoop Command Line
- An account in OKTA
API_URLis the public DNS name of the hoop gateway instance
info
Contact the administrator of the hoop gateway instance to retrieve the API_URL address.
Identity Provider Configuration
- Login with your account at https://developer.okta.com/login/
1) Create a new application
- Go to Applications > Applications and click on the Create App Integration button
- In Sign-in Method, select OIDC - OpenID Connect
- In Application type, select Web Application
2) Configure the redirect URIs
- Signin redirect URIs:
{API_URL}/api/callback - Signout redirect URIs:
{API_URL}/api/logout

- Save the Application
3) Collect the required information
IDP_CLIENT_ID & IDP_CLIENT_SECRET
In the Application Home

IDP_AUDIENCE & IDP_ISSUER
On Security > API

4) Add 'https://app.hoop.dev/groups' claim to ID Token (optional)
- Go to Security > API > {authorization server} > Claims
- Add
https://app.hoop.dev/groupsin the ID Token