question

Element Developer avatar image
Element Developer asked Phong Vu commented

OAU-108 Authorization code is expired

I am trying auth code flow and I got "Login error Error: Authorization code was not issued for this application" although the app is browser-based so the auth code flow should work.

However, I was still getting some code as you can see so I tried to get access token with it but I got

{
  "error" : "invalid_grant",
  "errors" : [ {
    "errorCode" : "OAU-108",
    "message" : "Authorization code is expired"
  } ],
  "error_description" : "Authorization code is expired"
}


What should I do?

authentication
1 comment
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

What is your app platform type? Or give me your app client id so I can check it for you.

0 Likes 0 ·

0 Answers

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys