Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Overview

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

 1 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

 2. 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)

 3. Retrieve Some Data

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

Fetch A Player Profile

 4. 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:

  • No labels