Every time I deploy to Monday Code I get a new Version URL. Do I need to copy this to the Redirect URL or is there some way this is taken care of?
There’s a permanent URL you can use for redirects back to your app.
Takes the form:
https://live1-service-1234567-aa1231a12.region.monday.app
Get the URL but clicking here:
You can save this as an environment variable like so:
then access it in your code using EnvironmentVariablesManager
from @mondaycom/apps-sdk
.
If you’ve gone to multi-region, then you’ll have to add each ORIGIN
to each region.
Also, you shouldn’t get a new URL on deploy. Only on release of a new version.
What command are you using to deploy???
Thank you David. You’re right and what I should have asked about was whether I had to copy the URL for every release (not deploy). Incidentally I use mapps code:push
to deploy but it is the release that concerns me.
Reply
Login to monday.com
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.