This is my first try building an integration app, and I was following quickstart-python on github, which is an integration example built with python’s flask.
I set up the monday.com app configuration from the description in SETUP.md (without the part of deploying the app to monday code).
After tunneling with the CLI, and running the application locally, I’m having problem with the authorization process: the auth endpoint is being called successfully, but the following flow is unsuccessful:
monday_request_auth (a wrapper for the authorize function in routes/auth.py file)
→ JWTService.decode_monday_jwt
→ SecretService.get_secret(SecretKeys.MONDAY_SIGNING_SECRET)
→ api_instance.get_secret(key)
The above is the function calls flow in the example, probably best to see the github project.
The signing_secret which is the result of the last function call returns NONE.
What should be updated in the code in order to have the app run locally?
I double-checked this with the team in charge of the quickstart guide.
They mentioned that you need to set an Environment Variable/Secret on your app (as shown here), which is currently only supported on monday code in the dev center.
Our team is working on a solution for local development but we do not have an ETA yet.
I am sorry for the previous message which was not accurate.
Is it possible to use monday_code apis, for example SecretsApi, in a local environment? If so, what does it entail?
I’m suggesting removing the parts in the SETUP.md which imply local server is possible, it’s misleading.
I used it as an integration-app walkthrough, and it would be very beneficial if there was a “hello world” kind of app which can be run locally.
Maybe just removing monday_code apis can help to accomplish that.