API Endpoint(s): https://zoom.us/oauth/token Description : After registering my Server to Server app, I am trying to get my first OAuth token.
I am using cURL language as follows:
Comment: I obviously compute and replace the proper Base64Encoded(clientId:clientSecret) et {accountID}
Error? 405 Method Not Allowed
I am the owner and only user of the Zoom account and I have a Pro license.
I checked the role-based access permissions but given I am owner I cannot change anything.
Are my full credentials passed on the Server to Server app?
I just tried and unfortunately it is still not working (same error) even though you are right.
I checked again the Server-to-Server OAuth page and I mistakenly followed the code as if I were using PowerShell.
Next step is to follow your lead at Postman and I can already see that it is different from API doc.
I’ll post the solution once I find it.
Thank you again for your help.
@Gianni,
I am still working to understand what is going on because :
Following your lead, I was able to generate a token with postman (had to make a branch in my workspace that’s all)
Usually I am pretty good (I have about 15 API under my belt) at translating Postman cURL for my environment (I am integrating Zoom in FileMaker database) but so far no luck.
It is a syntax problem, my base64 encoding is correct because I have same result as Postman and Postam was successful at getting a token.
As mentioned, I’ll keep the forum updated once I find the solution.
I finally found the problem, it was syntax. Base64 has several format so in my case I must use: "Basic " & Base64EncodeRFC ( 3548 ; ( $Client_ID & “:” & $Client_Secret ) )
RFC 3548 means “No line breaks added”
When using Base64Encode in my application an invisible pilcrow was added.
Thank you very much for your help…