Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Tree Search

Overview

The USTA API is a Rest API that uses OAuth2 authentication. The following is a no-nonsense guide designed show you how to:

Expand
title1 Set up callbacks

Your Bound mode (Authentication Code) client app will require at a minimum:

  • Gated landing page where logged in users will be redirected to

  • Ungated public landing page where logged out users will be redirected to

Cognito Client Integration - Sign In/Sign Out Callbacks

Expand
title2. Authenticate

Your client app will need to either support Sign Up and Sign in if in Bound mode

or

Support a server-based session that logs in using USTA supplied Basic Auth credentials.

Bound Mode (Authentication Code Auth Flow)

You must exchange the authentication code for an access token.

Cognito Client Integration - Registration/Sign Up

Cognito Client Integration - Login/Sign In

Unbound Mode (Client Credentials Auth Flow)

Cognito Client Integration - Machine to Machine (Unbound Access)

Expand
title3. Retrieve Some Data

Once you have successfully authenticated and retrieve a token, you can fetch some data.

Fetch A Player Profile

Expand
title4. Set Up A Toy App

You can try out Hosted Login with a working demo.

Cognito Client Integration - Sign In/Sign Out Callbacks

FAQ

The following is a collection of commonly asked questions on how to set up your application.

Cognito Client Integration - FAQs

On this page:

Table of Contents
minLevel1
maxLevel7