Plugin for Sentry which allows sending notification and SSO Login via WeChat Work.
NOTE: sentry 20.x removed support for legacy plugins, so this plugin only works for sentry 9.x-10.x.
- Install the plugin:
- onpremise: put
sentry-wxwork
torequirements.txt
- manual:
pip install sentry-wxwork
- onpremise: put
- Obtain required config from WeChat Work admin console (Read Me).
On (Legacy) Integrations page, find WeChat Work
, enable and configure it.
Add the following settings to your sentry.conf.py
:
WXWORK_CORP_ID = ''
WXWORK_SECRET = ''
WXWORK_AGENT_ID = ''
or, if you prefer setting it via environment variables:
if 'WXWORK_CORP_ID' in os.environ:
WXWORK_CORP_ID = env('WXWORK_CORP_ID')
WXWORK_SECRET = env('WXWORK_SECRET')
WXWORK_AGENT_ID = env('WXWORK_AGENT_ID')