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: x-www-form-urlencoded

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

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:

On This Page:

Subtopics: