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.
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.