- Customizations > Property Mappings
- Create > Scope Mapping
- Name: Immich
- Scope Name: profile
- Expression: [code in attached file]
This would use a custom scope when an application requests it, and allowed.
- Configure the Scope Mapping as above, but update
Scope Name
toimmich
. - Update the Provider in Authentic to allow the app to use the scope
immich
.- Providers > Edit > Advanced protocol settings > Scopes
- Select
immich
and click add to right - Update
- Select
- Providers > Edit > Advanced protocol settings > Scopes
- Update Immich settings to ask for
openid email profile immich
.Without this, Immich won't ask for the
immich
scope, and the provider won't be executed.