Description
We have an app in the app store, that when trying to authorize is returning us an invalid authorization code.
The flow in which we have tried is:
- deauth app from app store
- try to reauth the application
https://zoom.us/oauth/authorize?response_type=code&client_id={OUR_CLIENT_ID}&redirect_uri=https://OUR_URL
- get a successful response with an authorization code
- attempt to get a token from
/oauth/token
using the authorization code we recieved - get back an error
{ reason: 'Invalid authorization code {AUTH COIDE}', error: 'invalid_request' }
Which App Type (OAuth / Chatbot / JWT / Webhook)?
Oauth
Which Endpoint/s?
oauth/authorize
/oauth/token
Additional context
We have tested this with a couple of different accounts
one is a client’s account which is giving us the above error
the other is our account which is working.
we have tried on both to remove the authorized app by going to the market place finding our app and then going through the uninstall process.
the only difference we can see right now is that the account we auth with on our account is an “admin” and the client is an “owner”
but what doesnt seem to make sense is that the Oauth flow to get the authorization token is successful, it returns us an authorization code, its then the following call to get the token.
I have read in some other posts about that the authorization code is only valid once, and is a one time thing and to get a new one you have to remove and re auth, but we are doing that so a little lost at this point.
Any hints would be great.