2025-12-23 20:42:58 +08:00

12 lines
532 B
Python

CSRF_TRUSTED_ORIGINS = ["https://{{ server }}"]
OIDC_CLIENT_ID = "{{ sentry_oauth_client_id }}"
OIDC_CLIENT_SECRET = "{{ sentry_oauth_client_secret }}"
OIDC_ISSUER = "Jingrow"
OIDC_SCOPE = "openid email"
OIDC_AUTHORIZATION_ENDPOINT = "{{ sentry_oauth_server_url }}/api/method/jingrow.integrations.oauth2.authorize"
OIDC_TOKEN_ENDPOINT = "{{ sentry_oauth_server_url }}/api/method/jingrow.integrations.oauth2.get_token"
OIDC_USERINFO_ENDPOINT = "{{ sentry_oauth_server_url }}/api/method/jingrow.integrations.oauth2.openid_profile"