High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
docs: Add Google OAuth example (#9778)
aviv926e3d39837d03c
diff --git a/docs/docs/administration/img/google-example.webp b/docs/docs/administration/img/google-example.webpnew file mode 100644index 0000000000..742e77cd37Binary files /dev/null and b/docs/docs/administration/img/google-example.webp differdiff --git a/docs/docs/administration/img/immich-google-example.webp b/docs/docs/administration/img/immich-google-example.webpnew file mode 100644index 0000000000..ed6c31432dBinary files /dev/null and b/docs/docs/administration/img/immich-google-example.webp differdiff --git a/docs/docs/administration/oauth.md b/docs/docs/administration/oauth.mdindex 6fcc47d6a4..2ee84970df 100644--- a/docs/docs/administration/oauth.md+++ b/docs/docs/administration/oauth.md@@ -110,8 +110,44 @@ Immich has a route (`/api/oauth/mobile-redirect`) that is already configured to## Example Configuration+<details>+<summary>Authentik Example</summary>++### Authentik Example+Here's an example of OAuth configured for Authentik:-+<img src={require('./img/oauth-settings.png').default} title="OAuth settings" />++</details>++<details>+<summary>Google Example</summary>++### Google Example++Configuration of Authorised redirect URIs (Google Console)++<img src={require('./img/google-example.webp').default} width='50%' title="Authorised redirect URIs" />++Configuration of OAuth in System Settings++| Setting | Value |+| ---------------------------- | ------------------------------------------------------------------------------------------------------ |+| Issuer URL | [https://accounts.google.com](https://accounts.google.com) |+| Client ID | 7\***\*\*\*\*\*\*\***\*\*\***\*\*\*\*\*\*\***vuls.apps.googleusercontent.com |+| Client Secret | G\***\*\*\*\*\*\*\***\*\*\***\*\*\*\*\*\*\***OO |+| Scope | openid email profile |+| Signing Algorithm | RS256 |+| Storage Label Claim | preferred_username |+| Storage Quota Claim | immich_quota |+| Default Storage Quota (GiB) | 0 (0 for unlimited quota) |+| Button Text | Sign in with Google (optional) |+| Auto Register | Enabled (optional) |+| Auto Launch | Enabled |+| Mobile Redirect URI Override | Enabled (required) |+| Mobile Redirect URI | [https://demo.immich.app/api/oauth/mobile-redirect](https://demo.immich.app/api/oauth/mobile-redirect) |++</details>[oidc]: https://openid.net/connect/