mirror of
https://github.com/immich-app/immich.git
synced 2025-02-15 19:36:04 +02:00
docs: Update Authentik example (#9950)
* Update * npm run format:fix * more npm run format:fix
This commit is contained in:
parent
bb9e18247b
commit
15474e81b2
Binary file not shown.
After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Binary file not shown.
Before Width: | Height: | Size: 113 KiB |
Binary file not shown.
Before Width: | Height: | Size: 57 KiB |
@ -117,7 +117,27 @@ Immich has a route (`/api/oauth/mobile-redirect`) that is already configured to
|
|||||||
|
|
||||||
Here's an example of OAuth configured for Authentik:
|
Here's an example of OAuth configured for Authentik:
|
||||||
|
|
||||||
<img src={require('./img/oauth-settings.png').default} title="OAuth settings" />
|
Configuration of Authorised redirect URIs (Authentik OAuth2/OpenID Provider)
|
||||||
|
|
||||||
|
<img src={require('./img/authentik-redirect-uris-example.webp').default} width='70%' title="Authentik authorised redirect URIs" />
|
||||||
|
|
||||||
|
Configuration of OAuth in Immich System Settings
|
||||||
|
|
||||||
|
| Setting | Value |
|
||||||
|
| ---------------------------- | ---------------------------------------------------------------------------------- |
|
||||||
|
| Issuer URL | `https://example.immich.app/application/o/immich/.well-known/openid-configuration` |
|
||||||
|
| Client ID | AFCj2rM1f4rps**\*\*\*\***\***\*\*\*\***lCLEum6hH9... |
|
||||||
|
| Client Secret | 0v89FXkQOWO\***\*\*\*\*\***\*\*\***\*\*\*\*\***mprbvXD549HH6s1iw... |
|
||||||
|
| 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 Authentik (optional) |
|
||||||
|
| Auto Register | Enabled (optional) |
|
||||||
|
| Auto Launch | Enabled (optional) |
|
||||||
|
| Mobile Redirect URI Override | Disable |
|
||||||
|
| Mobile Redirect URI | |
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@ -126,11 +146,13 @@ Here's an example of OAuth configured for Authentik:
|
|||||||
|
|
||||||
### Google Example
|
### Google Example
|
||||||
|
|
||||||
|
Here's an example of OAuth configured for Google:
|
||||||
|
|
||||||
Configuration of Authorised redirect URIs (Google Console)
|
Configuration of Authorised redirect URIs (Google Console)
|
||||||
|
|
||||||
<img src={require('./img/google-example.webp').default} width='50%' title="Authorised redirect URIs" />
|
<img src={require('./img/google-redirect-uris-example.webp').default} width='50%' title="Google authorised redirect URIs" />
|
||||||
|
|
||||||
Configuration of OAuth in System Settings
|
Configuration of OAuth in Immich System Settings
|
||||||
|
|
||||||
| Setting | Value |
|
| Setting | Value |
|
||||||
| ---------------------------- | ------------------------------------------------------------------------------------------------------ |
|
| ---------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||||
|
@ -15,6 +15,10 @@ button {
|
|||||||
font-family: 'Overpass', sans-serif;
|
font-family: 'Overpass', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
/* You can override the default Infima variables here. */
|
/* You can override the default Infima variables here. */
|
||||||
:root {
|
:root {
|
||||||
--ifm-color-primary: #4250af;
|
--ifm-color-primary: #4250af;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user