question

hamb-16489 avatar image
hamb-16489 asked Anirban edited

no authorization code is returned when authenticating using oauth

After oauth, no code is returned to redirect URL. i do not get any error in my server log too.

I doubt whether my app is not enabled for that country? or any other issue?

authentication
1 |3000

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

Tyler Liu avatar image
Tyler Liu answered
Could you please provide us with more detail?  If there is not code returned to redirect URL, could you please post the whole redirect URL here?  Or you can post some code snippets for us to analyze.
1 |3000

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

Anirban avatar image
Anirban answered Anirban edited

Make sure you use correct format in Authorize url.

Also try putting following and check you are getting the code back in the url

response_type=code

It would have been better if you had provided your format here to get verified

1 |3000

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

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