Solved

How to Regenerate access Token through Rest Api.

  • 19 October 2022
  • 1 reply
  • 751 views

If I already Login but My token has been expired .

How to refresh token get. 

or Any other way to get token through rest API.

 

icon

Best answer by Marco Villasenor 19 October 2022, 17:44

View original

1 reply

Userlevel 3
Badge +2

If it expired I suppose you are using the Authorization Code flow.

This gives you the expiration and a refresh token.

Parameter Description
token_type The type of the access token, which is Bearer.
access_token The access token.
expires_in The period of time during which the access token is valid.
refresh_token The refresh token. The parameter is returned only if the offline_access scope was granted.

 

You then need to call the https://<Acumatica ERP instance URL>/identity/connect/token endpoint with this refresh_token to refresh the token.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved