Skip to content
English
  • There are no suggestions because the search field is empty.

How to refresh access tokens in Autenti eSign API?

The Refresh Token mechanism (compliant with the RFC 6749 standard) allows you to get a new access token (access_token) without needing the user to enter their login details again.

This solution increases security by allowing the use of a short validity period for access tokens. 

Key rules for Refresh Tokens

  • Expiration period - The default lifetime of a refresh token is 24 hours (access tokens expire in a maximum of 30 minutes).
  • Single use - Each refresh token can be used only once. After using it, be sure to save the new refresh_token returned in the system response.
  • Forced re-authentication - For security reasons, Autenti may require the user to log in again, returning an insufficient_authentication error along with X-CHALLENGE headers.

Technical documentation and request specification

For detailed implementation instructions, header structure schemas, and example JSON requests, refer to our official technical documentation.