Github returns 404 on SSO setup

Hey there,

I just installed Sentry On-Premise on my organizations server.
We are keeping our project in private GitHub repositories, so it makes sense to let our developers to login via GitHub SSO.

After I clicked “Configure” in my Sentry Organization’s Authentication options I have gotten an 404 from GitHub.
I was wondering if I did something wrong or if this is a bug.

Does anyone have any ideas or solutions for that plugin?

Thanks in advance!
Kind Regards,
Lukas Jost

Can you provide more information around this such as which page on GitHub you get the 404 for, any logs on Sentry side, your Sentry version, whether you’ve configured your GitHub configuration in Sentry config files etc.

Hey,
thanks for your reply!

I get redirected to https://github.com/login/oauth/authorize?scope=user%3Aemail%2Cread%3Aorg%2Crepo&state=52b3cb937a234fae94647e33dd2a7cb1&redirect_uri=https%3A%2F%2Fsentry.domain.tld%2Fauth%2Fsso%2F&response_type=code&client_id=

I’m using Sentry 10.1.0.dev 0bfd554e.

I do not configured GitHub in my config files. Is that necessary?

I’ve the same problem, and I’ve configured Github App correctly

1 Like

Does someone have an idea or solution?

1 Like

Sorry for the radio silence, we’ll be looking into this soon and update here.

Thanks a lot for your patience and apologies for the inconvenience.

1 Like

Any updates? I’m still seeing this with Sentry 20.9.0.dev0

EDIT: Got it! https://github.com/getsentry/sentry/issues/18335#issuecomment-700355597

1 Like

Ah, sorry some things just fall of our radar occasionally. We’ve created a new guide for GitHub SSO which also covers the GitHub integration: https://develop.sentry.dev/self-hosted/sso/#github-auth

I see that you were able to resolve your issue but I’d love to get your feedback on the new guide and see if it works for you.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.