getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.54k stars 4.04k forks source link

Custom OAuth 2 / OpenID Connect providers #35314

Open Guichaguri opened 2 years ago

Guichaguri commented 2 years ago

Problem Statement

Sentry currently supports custom SAML providers, but not OAuth 2 or OpenID Connect.

Solution Brainstorm

OAuth 2 is a pretty well established protocol for authorization, supporting it should not be too hard since Sentry already has code for GitHub and Google.

The problem is retrieving the user data. Since OAuth 2 does not have a standard for user resources, each provider server can implement that differently. There are two solutions to that:

The perfect scenario is to support both solutions, but I think OpenID Connect is the way to go.

getsentry-release commented 2 years ago

Routing to @getsentry/enterprise for triage. ⏲️

leedongwei commented 2 years ago

Thanks for the suggestion! It is in our backlog, but we don't have plans to add more authentication features at this point.