Skip to main content

Hi

I am in Authorization Code Flow to get access token.


I am getting the "Login error Error: Authorization code was not issued for this application" at the first step getting the authorization code. I did GET method and it did work for the other application and I wanted to make another application and this is not working.

It is Server/Web App so Authorization Code Flow should work for it.

Why I am getting this error? Anybody knows the answer?

As you said you guessed that the access token is expired. In that case, use the refresh token to ask for a new access token. Post this body to the "auth" endpoint

{
'grant_type' : 'refresh_token',
  'refresh_token' : "your refresh token"
}



Here is the way to get access token from refresh token:

https://platform.devtest.ringcentral.com/restapi/oauth/token


username=<your user name>&password=<your password>&extension=<your extension>&grant_type=refresh_token&refresh_token=<your refresh token generated>

Now it will generate new access token from refresh token


Reply