Skip to main content
Question

Getting stuck at Authorize method.

  • January 9, 2020
  • 1 reply
  • 654 views

The control is getting stuck in this line "restClient.Authorize(RINGCENTRAL_USERNAME, RINGCENTRAL_EXTENSION, RINGCENTRAL_PASSWORD).Wait()". We have provided all the valid inputs but still the control is not moving to next line.

1 reply

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2329 replies
  • January 10, 2020

The code you are showing is for password flow authentication and it works with "Server-only (No UI)" app type. Since your app type is "Server/Web" which require authorization flow authentication. If you really need your app is a "Server/Web" app, then follow the instructions from this developer guide to implement your app. If the app type supposed to be "Server-only", then either you create a new app with the correct app type. Or let me know your current app client id so I can change it for you.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings