Skip to main content
Solved

How to Regenerate access Token through Rest Api.

  • 19 October 2022
  • 1 reply
  • 1117 views

Forum|alt.badge.img

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.

 

Best answer by Marco Villasenor

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.

View original
Did this topic help you find an answer to your question?

1 reply

Marco Villasenor
Jr Varsity II
Forum|alt.badge.img+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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings