Togo ID

The Togo Group Developer Hub

Welcome to the Togo Group developer hub. You'll find comprehensive guides and documentation to help you start working with Togo Group as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    API Reference

Parsing the ID token

The ID Token is a JSON Web Token (JWT) that contains user profile information which is represented in the form of claims. It is recommended that you validate the ID Token before storing and using it.
Use the JWT debugger to parse the id_token for readability. The following table describes the key fields included in the Togo JWT:

Claim

Name

Description

email

User’s preferred email address.

given_name

First name(s) of the user.

family_name

User’s last name(s).

user

User is a custom claim mainly used to identify the user within the application and what permissions they possess. For more information on this claim see Custom claim.

sub

Subject

Togo account ID of the user.

jti

JWT ID

This must be stored in your system to perform a match.

usage

Indicates weather the JWT is an ID token or an access token.

aud

Audience

Audience of the token.
Unique identifier; can be used to prevent the JWT from being replayed (allows a token to be used only once).

nonce

An arbitrary alphanumeric number issued as a part of the generated JWT token so you can be sure the token was generated specifically for your request.

azp

Authorized party

The party to which the ID Token was issued.

nbf

Not before

The time before which the JWT is not valid and must not be accepted for processing.

exp

Expiration time

Date and time the token is considered expired and invalid.

iat

Issued at

Time at which the JWT was issued; can be used to determine age of the JWT.

iss

Issuer

Issuer of the token.

Updated about a year ago


Parsing the ID token


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.