OpenProject
Setting up Hookshot for OpenProject requires setting up webhooks, and configuring an OAuth2 application so that users may login.
OpenProject
Set up OpenProject to send Webhook requests to hookshot, following the documentation. Please note the following:
- The payload URL will be the address of your
webhooks
listener, with the path of/openproject/webhook
. - The secret must be set, and must match the value of
webhook.secret
below. - Hookshot currently uses the "Work packages" events, although more will follow in the future.
- You may enable as many projects as you like, but Hookshot must be configured to route the projects via it's connections principle.
You must also setup an OAuth application, following the documentation. Please note the following:
- The Redirect URL will be the address of your
webhooks
listener, with the path of/openproject/oauth
. - Only the scope
api_v3
is used. - Confidential access should be enabled.
- Do not set a Client Credentials User ID.
Please keep a record of the Client ID and Client Secret to be used in the next step.
Hookshot
You can now set some configuration in the bridge config.yml
:
openProject:
baseUrl: https://your-open-project.com
webhook:
secret: secrettoken
oauth:
clientId: foo
clientSecret: bar
redirectUri: https://example.com/oauth/
Next steps
If you have followed these steps correctly, OpenProject should now be configured đĨŗ.
You can now follow the guide on authenticating with OpenProject.