Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth-ringcentral.md issues #21

Open
tylerlong opened this issue Jun 9, 2020 · 0 comments
Open

auth-ringcentral.md issues #21

tylerlong opened this issue Jun 9, 2020 · 0 comments

Comments

@tylerlong
Copy link

tylerlong commented Jun 9, 2020

https://engage-voice-api-docs.readthedocs.io/en/latest/authentication/auth-ringcentral/

form-urlencoded vs query parameter

The docs says

POST https://engage.ringcentral.com/api/auth/login/rc/accesstoken
Content-Type: application/x-www-form-urlencoded

rcAccessToken=<rcAccessToken>&rcTokenType=Bearer

But as I tested, specifying rcAccessToken=<rcAccessToken>&rcTokenType=Bearer as query parameter works too.

Is it by design or legacy issue?

It works for some extensions but not all

For my account(direct number 1650641xxxx), it works

For 1720386xxxx*11115 it does not work. The error message is:

{"message":"Invalid argument supplied [Please specify a valid platform!]","detail":"Please specify a valid platform!","status":409,"statusDetail":"CONFLICT"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant