API Gateway - OKTA Auth0 Client Integration Guide
Overview
The USTA API uses Okta as an identity provider organized using the OAuth2 access model.
Grant Types - Okta
Application can use client credentials grant type:
Client Credentials used for server-side applications where the service authenticates as the service and establishes a session.
Credentials
After discussion with the USTA API team, USTA will issue credentials for the appropriate grant type to the application developers.
API Endpoints
Stage Domain Name:
Replace {OKTA_DOMAIN} with usta-external-stage.us.auth0.com
Replace {AUDIENCE} with https://external-stage2-services.usta.com
| Okta (Target) | Cognito (Legacy) |
---|---|---|
Token endpoint (Client credentials flow) | Method: POST URL: https://{OKTA_DOMAIN}/oauth/token Body:
Content-type: x-www-form-urlencoded | Method: POST URL: https://{USTA_SERVICES}/dev/v1/oauth2/token Headers:
Body:
|
Endpoint URL | URL to call stage2 service will be: “ https://stage2-api-ustaconnect.usta.com“. Replace the domain with above and rest of the URL will stay same. WTN: https://stage2-api-ustaconnect.usta.com/v1/api-public/wtn Membership Status: : https://stage2-api-ustaconnect.usta.com/v1/api-public/membership/status |
|
On This Page: