mondaycom / welcome-apps

A collection of "Hello World" monday.com apps
https://developers.monday.com
MIT License
85 stars 140 forks source link

Any to to get a token with the pop up? #92

Closed hanwesh closed 1 year ago

hanwesh commented 1 year ago

Could I/How could I do client_credentials grant with oauth in monday.com? thinking implement a background job which will trigger from another system to update monday.com timeline

yuhgto commented 1 year ago

Our OAuth feature doesn't support the client credentials flow; only Authorization Code.

That said, you can run the user through this OAuth flow from inside a view app and get a token by the end of it. Most of our marketplace apps that need a token for background jobs do this.

Side note: we're adding sandboxing for view apps this coming June, so make sure your implementation avoids using popups or redirects. More info here.