I just can’t for the life of me figure out what I am doing wrong. I can’t get any solution in any other topic to work. I’m trying to get the access_token from the …/oauth/token (url wasn’t allowed) endpoint.
Since, you’re passing grant type as account_credentials, it sounds like your intended use is for S2S. You can verify the exact set up you need for either in our public workspace:
I’m having a very similar issue. Not matter what I try I always get
{“reason”:“unsupported grant type”,“error”:“unsupported_grant_type”}
Trying to get account credentials as outlined in the S2S documentation. I downloaded the s2s.js app, plugged in my credentials (as opposed the PHP script I’ve written) and it gives the same error. My app says ready to install. Not sure what this means. Whenever i try to add the app, it calls the listed Oauth endepoint (not sure why) instead of just installing.
Any help would be greatly appreciated. Can’t seem to get to step one, authorization. And without this, obviously nothing else is going to work.
Sorry, I should have been more clear. I was using the meeting sdk app credentials. Not the server-to-server oauth app credentials.
When changing to the correct credentials it worked fine
I am annoyed that the response was “unsupported_grant_type”. Which was wrong and had nothing to do with the actual problem. Which again, was wrong credentials.
Thanks for the replies.
I don’t know Andy’s situation. So can’t say if his issue is related or not.