OKTA Auth0 Client Integration Guide
Overview
The USTA API uses Okta as an identity provider organized using the OAuth2 access model. Web and mobile applications interact with Okta using https.
Grant Types - Okta
Applications can use one of two OAuth2 grant types:
Authorization Code used for browser applications where the user authenticates as themselves.
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 stage-account-auth0.usta.com
 | Okta (Target) | Cognito (Legacy) |
---|---|---|
Authorize endpoint | Method: GET URL: https://{OKTA_DOMAIN}/authorize Parameters:
| Method: GET URL: https://{USTA_SERVICES}/dev/v1/oauth2/authorize Parameters:
|
Token endpoint (Authorization code flow) | Method: POST URL: https://{OKTA_DOMAIN}/oauth/token Headers:
Body:
| Method: POST URL: https://{USTA_SERVICES}/dev/v1/oauth2/token Headers:
Body:
|
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:
|
Refresh token endpoint | Method: POST URL: https://{OKTA_DOMAIN}/oauth/token Parameters:
| Method: POST URL: https://{USTA_SERVICES}/dev/v1/oauth2/token Parameters:
|
Logout endpoint | Method: GET URL: https://{OKTA_DOMAIN}/v2/logout Parameters:
| Method: GET URL: https://{USTA_SERVICES}/dev/v1/oauth2/logout Parameters:
|
Userinfo endpoint | Method: GET URL: https://{OKTA_DOMAIN}/userinfo Headers:
| Method: GET URL: https://{USTA_SERVICES}/dev/v1/oauth2/userInfo Headers:
|
Forgot password endpoint | Not directly supported by OKTA. Flow needs to be changed https://community.auth0.com/t/feature-request-allow-a-direct-link-to-forgot-password/60754 | Method: GET URL: https://{USTA_SERVICES}/dev/v1/forgotPassword Parameters:
 |
Signup endpoint | Method: GET URL: https://{OKTA_DOMAIN}/authorize Parameters:
| Method: GET URL: https://{USTA_SERVICES}/dev/v1/oauth2/signup Parameters:
|
Login endpoint | Method: GET URL: https://{OKTA_DOMAIN}/authorize Parameters:
| Method: GET URL: https://{USTA_SERVICES}/dev/v1/oauth2/login Parameters:
|
Get Customer endpoint | Â | |
Post Customer endpoint | Â |
Â
On This Page:
Subtopics:
Â
Â