The error message “Access token cannot be refreshed” with status code 210 returned when the refresh token has not been provided by the authorization server. With refresh token, the access token is refreshed by making a request to the token URL.
Could you confirm if the authorization provider sends refresh token along with access token? If their process is proper according to the OAuth 2.0 Authorization Framework, we could troubleshoot at our end why is this issue happening.
To troubleshoot at our end, please provide your account domain and app ID.
Hi @Raviraj ,
Thanks for the quick update on the issue. I found i have missed one param which leads not to return refresh_token param key. I had another question can you please help me on understanding that part :
1)
while doing auth app testing in local am getting http://localhost:10001/custom_configs config param links can i use it or not. Because while doing install am getting error like the below attachement.
To test the auth locally, you can run the app with Freshworks CLI (fdk) and test the app installation flow from the Marketplace Apps gallery in the product similar to how production apps are installed. Locally running app will have “In Dev” label to identify them.
The installation parameters can be used alongside OAuth and it can be avoided if not required any. To troubleshoot the issue that you have posted with a screenshot, please prodvide the config/iparams.json here.
Hi @Raviraj ,
I am giving iparam.json as {} thats it and am having only oauthconfig.json but when we deployed locally for testing that time will get this - http://localhost:10001/custom_configs that one is showing that error. So we are planning to confirm that is that the expected behaviour ?
Thanks & Regards,
Anitha
Thanks for the suggestion - @Saif , But here my doubt is as am having empty json object in iparams.json file so thats why its causing that error. Is this expected behaviour while the app is pointing auth flow?
@Setmore_Support You can run the testing in the App Gallery for locally running apps as well.
You can follow the steps from this documentation. It’s the same steps for all the products.
Let us know if you still face the issue when testing. Also, you can check it out if the same app works as custom app if you are stuck with local environment due to any issue.