/
API Gateway - OKTA Auth0 Client Integration Guide

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:

 

Okta (Target)

Cognito (Legacy)

Token endpoint

(Client credentials flow)

Method: POST

URL: https://{OKTA_DOMAIN}/oauth/token

Body:

  • grant_type=client_credentials

  • client_id={client_id}

  • client_secret={client_secret}

  • audience= {AUDIENCE}

Content-type: json

Method: POST

URL: https://{USTA_SERVICES}/dev/v1/oauth2/token

Headers:

  • Authorization='Basic {client_id&client_secret}'

Body:

  • client_id={client_id}

    • grant_type=client_credentials

Endpoint URL Examples

URL to call stage service will be: “ https://stage-api-ustaconnect.usta.com“. Replace the domain with above and rest of the URL will stay same.

WTN: https://stage-api-ustaconnect.usta.com/v1/api-public/wtn

Membership Status: : https://stage-api-ustaconnect.usta.com/v1/api-public/membership/status

 

 

On This Page:

On This Page:

Subtopics:

 

Related content

STAGE2 - OKTA Auth0 Client Integration Guide
STAGE2 - OKTA Auth0 Client Integration Guide
More like this
STAGE - OKTA Auth0 Client Integration Guide
STAGE - OKTA Auth0 Client Integration Guide
More like this
Production - OKTA Auth0 Client Integration Guide
Production - OKTA Auth0 Client Integration Guide
More like this
Cognito Endpoints
Cognito Endpoints
More like this