Skip to content

Commit

Permalink
Added description about Google Oauth2 setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pasha121 committed Aug 13, 2024
1 parent e7080d6 commit 50a2bf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions develop-docs/self-hosted/sso.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Please refer to our [main SAML documentation](https://docs.sentry.io/accounts/ss

As of [Sentry 9.1](https://github.com/getsentry/self-hosted/releases/tag/9.1.2), self-hosted Sentry comes with built-in Google Auth support. To enable, you'll need to [create a client ID and secret for your Google App](https://developers.google.com/identity/sign-in/web/server-side-flow#step_1_create_a_client_id_and_client_secret) and then enter these values into your [`sentry/config.yaml`](https://github.com/getsentry/self-hosted/blob/master/sentry/config.example.yml) file respectively:

When configuring new Google credentials (https://console.cloud.google.com/apis/credentials) you must specify Authorized JavaScript origins: https://sentry.your.domain and Authorized redirect URIs: https://sentry.your.domain/extensions/google/setup and https://sentry.your.domain/auth/sso/

```yaml
auth-google.client-id: '<client id>'
auth-google.client-secret: '<client secret>'
Expand Down

0 comments on commit 50a2bf0

Please sign in to comment.