Authorization
Exchange Token (DEPRECATED)
This API is used for exchanging access token with one-time token.
POST
Once users are authorized, the one-time code
will be returned to the client, which will then combine it with the client_secret
to obtain an access token.
The id_token
and access_token
id_token
is a JWT token that contains basic information about the user, including:
JSON
edu_username
is a sample application-specific data field.access_token
is a JWT token used for accessing a particular resource via the API.
TEXT
Validating access token
To make sure the token is provided by Terminal 3 before proceeding, you can obtain the public keys from Terminal 3 and use them to verify the token.
TypeScript
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Available options:
authorization_code
Minimum length:
1
Minimum length:
1
Minimum length:
1
Minimum length:
1