OAuth process throws internal server error

In order to implement OAuth process in my integration app, I followed this repo

Whenever the user authorize the app, the /oauth/callback route is triggered with the following request:
{error: 'server_error', error_description: 'Internal server error', state: 'abcde1234568'}

I double check the redirect_uri value, it is the same on the app settings, /start and /oauth/callback route. I don’t have the code parameter which, I guess, make the https://auth.monday.com/oauth2/token request fail.

What could be the reason that the request from monday server to “/oauth/callback” route is missing the authorization code?

I successfully received a response from the Monday server, including the authorization code and access token. No code changes were made; simply installing the app on a different account (not my dev account) showed that the OAuth process was successful. I’m not sure why this happened, but perhaps the Monday team could provide some insights.

Hello there @Oded282,

There are multiple possible sources for why you could have seen that issue in the past. If you want, you can fill this form adding as much information as possible to it (such as app ID, account ID, timestamps, etc.) so that our team can take a look into it.

But I am glad this is working now :smile: