Versions Compared
Version | Old Version 1 | New Version Current |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
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 https://account.usta.com/
Replace {AUDIENCE} with https://services.usta.com/
Registration URL: https://services.usta.com/en/registration.html
| Okta (Target) | Cognito (Legacy) |
---|---|---|
Authorize endpoint | Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
| Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
|
Token endpoint (Authorization code flow) | Method: POST URL: /wiki/spaces/UDTP/pages/40676753780 Headers:
Body:
| Method: POST URL: /wiki/spaces/UDTP/pages/40676753780 Headers:
Body:
|
Token endpoint (Client credentials flow) | Method: POST URL: /wiki/spaces/UDTP/pages/40550268943 Body:
Content-type: x-www-form-urlencoded | Method: POST URL: /wiki/spaces/UDTP/pages/40676753780 Headers:
Body:
|
Refresh token endpoint | Method: POST URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
| Method: POST URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
|
Logout endpoint | Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
| Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
|
Userinfo endpoint | Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 Headers:
| Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 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: /wiki/spaces/UDTP/pages/40676753780 Parameters:
|
Signup endpoint | Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
| Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
|
Login endpoint | Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
| Method: GET URL: /wiki/spaces/UDTP/pages/40676753780 Parameters:
|
Get Customer endpoint |
| |
Post Customer endpoint |
|
Panel | ||
---|---|---|
| ||
On This Page: |
Panel | ||
---|---|---|
| ||
Subtopics: |
Panel | ||
---|---|---|
| ||
On This Page: |
Table of Contents |
---|
Panel | ||
---|---|---|
| ||
Subtopics: |
Child pages (Children Display) |
---|