I followed the instruction in the readme.md and setup.md of the quickstart-python
I can get the basic email integration app to run smoothly, I think that my problem is around OAuth process.
- I ran the server locally and used the tunneling service to expose the local service.
- Under feature details I enabled the Authorization URL checkbox and set the Auth url to /auth
- I redirected URL’s to the following URL: https://xxxx-xxxx.apps-tunnel.monday.app/auth/monday/callback (the url provided when tunnel was created)
- I created custom action, set the workflow blocks, defined sentence for action, provided relative path to the action in the API (/mail/send), created a recipe.
When I try to add the integration to my board, I see the following log in my flask server:
127.0.0.1 - - -18/Sep/2024 20:07:56] “GET /auth?token= HTTP/1.1” 308 -
It stuck for about a minute and than I get spam with:
127.0.0.1 - - 118/Sep/2024 20:12:48] “POST /logs HTTP/1.1” 404 -
Under the consts.py I added the following:
class SecretKeys:
MONDAY_SIGNING_SECRET = <signing secret under the app basic information>
MONDAY_OAUTH_CLIENT_SECRET = <client secret under the app basic information>
class EnvironmentKeys:
MONDAY_OAUTH_CLIENT_ID = '<client id under the app basic information>'
MONDAY_OAUTH_TOKEN_PATH = '<Didn't know what this value should be>'
MONDAY_OAUTH_BASE_PATH = 'https://auth.monday.com/oauth2/authorize?client_id=<my_client_id>'
I guess I’m missing something here, really appreciate the community help, thanks in advance!