Skip to content

Tokens

Authany uses industry-standard tokens to manage user authentication and authorization. This section covers the different types of tokens, their structure, and how to use them in your applications.

Token Types

Authany provides several types of tokens for different purposes:

  • JWT Access Tokens: Used for authorizing API calls and accessing protected resources
  • M2M Tokens: They are JWT access token issued to M2M applications for authorizing API calls and accessing protected resources.
  • Refresh Tokens: Used to obtain new access tokens when they expire
  • ID Tokens: Contain user identity information for OpenID Connect flows

Token Contents

Get details about what claims are returned in the JWT access token and response from the UserInfo endpoint by Authany.

JWT Access Token

M2M Tokens

Refresh Token