Description
I have an OAuth app.
If I’m already authenticated (logged into marketplace zoom us) this auth endpoint is working fine, it will ask me for permissions and once approved it will redirect me to the callback with code.
If I’m not authenticated (not logged into marketplace zoom us), I get this error instead of being forwarded to login page.
Why?
Error
Invalid client_id: [MY_CLIENT_ID] (4,702)
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
Thanks for reaching out about this, and happy to help.
As a first step, can I kindly ask if you get this same error when testing the Authorization URL in an icognito mode browser window? This can sometimes be a result of a caching issue.
Additionally, if this apps has both production and development credentials, can you confirm which URL you’re using? (Publishable URL or local test)
I had two different (not published) OAuth apps. One had urls for localhost and one for test environment.
The app with localhost redirect url was working and accessible even if the browser was not authenticated against Zoom ie it redirected to the correct page (/login). The one with test environment redirect url threw Invalid client_id error in case the browser was not authenticated. I would have expected the same behaviour but it looked like first app was actually accessible for external users even if it was not published while the second one was not.
It kinda gave me the feeling that Zoom is doing some redirect urls parsing and change app access permissions based on that.
Everything got solved once I clicked the ‘Change’ button, but I think your devs should take a look into it.
I don’t think it was a cache issue as I also tried it in Incongito plus tried clearing all cookies-app data etc from the browser.