Skip to main content
Answer

How to Regenerate Token through OAuth 2.0 in Rest Api. 

  • November 17, 2022
  • 1 reply
  • 676 views

Forum|alt.badge.img

How to Regenerate Token through OAuth 2.0 in Rest Api. 

 I have pass the data in api but I have access only grant_type is API

 

How To user permission to offline access to get refresh token

Best answer by MoulaliShaik79

Hi @DharmandarKumar,

  It looks like you are using Resource Owner Password Credentials Flow.

  To get the Refresh Token, you need to use Scope as below one:

scope=api+offline_access

Please go through the below link for more information.

https://help-2022r2.acumatica.com/(W(13))/Help?ScreenId=ShowWiki&pageid=2930d2f7-e081-4d0e-8879-93907ce82607

 

 

Hope this may help you!

Thanks,

Moulali Shaik.

1 reply

Forum|alt.badge.img+1
  • Semi-Pro II
  • Answer
  • November 17, 2022

Hi @DharmandarKumar,

  It looks like you are using Resource Owner Password Credentials Flow.

  To get the Refresh Token, you need to use Scope as below one:

scope=api+offline_access

Please go through the below link for more information.

https://help-2022r2.acumatica.com/(W(13))/Help?ScreenId=ShowWiki&pageid=2930d2f7-e081-4d0e-8879-93907ce82607

 

 

Hope this may help you!

Thanks,

Moulali Shaik.