Plugin is directing me to github.com and not my custom url
mandeepbal opened this issue · 1 comments
I installed this sentry plugin, but I'm not getting the correct redirect url when I try to connect a new account under http://<sentry-url>/account/settings/identities/
. I'm passing the variables needed for sentry.conf.py as env vars and I've verified the variables are being persented to sentry via http://<sentry-url>/manage/status/environment/
.
sentry.conf.py
#################
# Auth - GitHub #
#################
GITHUB_APP_ID = env('GITHUB_APP_ID')
GITHUB_API_SECRET = env('GITHUB_API_SECRET')
GITHUB_DOMAIN = env('GITHUB_BASE_DOMAIN')
GITHUB_BASE_DOMAIN = env('GITHUB_BASE_DOMAIN')
GITHUB_API_DOMAIN = env('GITHUB_API_DOMAIN')
GITHUB_REQUIRE_VERIFIED_EMAIL = env('GITHUB_REQUIRE_VERIFIED_EMAIL') or 'False'
Configuration - /etc/sentry
GITHUB_API_DOMAIN - 'mypersonalgithub.com/api/v3/'
GITHUB_API_SECRET - ************************
GITHUB_APP_ID - '3939393939392092093'
GITHUB_BASE_DOMAIN - 'mypersonalgithub.com'
GITHUB_DOMAIN - 'mypersonalgithub.com'
GITHUB_REQUIRE_VERIFIED_EMAIL - 'False'
I realized to setup SSO for Sentry to navigate to http://<sentry hostname>/organizations/<your sentry org name>/auth/
. I didn't know that AUTH is a one to one mapping from your GitHub Org to Sentry Org.