Skip to main content

Hi,

I have been trying to implement an automation integration in which i need to integrate my application to monday.com through an OAuth flow. From the monday dev console configuration, I have set up an “Authorization URL” which points to the authorize url of our application’s outh flow. Our application is hosted on, say, Server 1.

I have created an application by downloading the integration template for nodejs and hosted it on Server2.

When I try using the automation template and click on use template, the browser redirects to the Server1 oauth url, e.g. https://dev1.server1.com/oauth/authorize with a redirect uri set to an endpoint on server2, e.g. https://server2.com/automation/oauth/ - this endpoint basically receives the Auth code returned from server1 and hits the /token endpoint on server1 and get the access token. I need to now redirect back to the backToUrl that was received in the token sent by monday.com initially. But while doing so, I receive a CORS error.

In short, what I want to achieve is that, I should be able to host the apps created for monday integration to be deployed on another server(Server2) other than my application’s server(Server1).

I need help in understanding how this flow can be achieved.


Thanks

Mohit

Hello there @Mohit and welcome to the community!


Would you be able to please fill this form so our team can take a look into this? Please add as much detail about your case as possible.


Looking forward to hearing from you via the form!


Cheers,

Matias


Reply