From 6baf3996140097eb208efdc914bb07ccb4f344ac Mon Sep 17 00:00:00 2001 From: Nguyen Le Vu Long Date: Thu, 9 May 2024 13:19:48 +0700 Subject: [PATCH] Update self-hosted Google SSO guide Signed-off-by: Nguyen Le Vu Long --- src/docs/self-hosted/sso.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/docs/self-hosted/sso.mdx b/src/docs/self-hosted/sso.mdx index 52cb0ab12a..4653d876a7 100644 --- a/src/docs/self-hosted/sso.mdx +++ b/src/docs/self-hosted/sso.mdx @@ -28,7 +28,14 @@ Please refer to our [main SAML documentation](https://docs.sentry.io/accounts/ss ### Google Auth -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: +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) with the following settings: + +| Setting | Value | +| ------------------------------- | ----------------------------------------- | +| Authorized JavaScript origins | `${urlPrefix}` | +| Authorized redirect URIs | `${urlPrefix}/auth/sso/` | + +Then enter these values into your [`sentry/config.yaml`](https://github.com/getsentry/self-hosted/blob/master/sentry/config.example.yml) file respectively: ```yaml auth-google.client-id: ''