[PR #3278] feat(server): storage label claim #9913

Closed
opened 2026-02-05 14:12:50 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/3278

State: closed
Merged: Yes


(merge after #3242)

Resolves #3276

In this PR:

  • Add storage label claim system config setting
  • Set user.storageLabel to the value of the oauth.storageLabelClaim property of the OAuth profile when a user signs in for the first time.
  • Default storage label claim to preferred_username

image

Tested Scenarios:

  • Reset the setting to the default by clearing it out
  • Use an invalid claim (storage label is set to null)
  • Use a valid claim (storage label is set to mapped value)
**Original Pull Request:** https://github.com/immich-app/immich/pull/3278 **State:** closed **Merged:** Yes --- (merge after #3242) Resolves #3276 In this PR: - Add storage label claim system config setting - Set `user.storageLabel` to the value of the `oauth.storageLabelClaim` property of the OAuth profile when a user signs in for the first time. - Default storage label claim to `preferred_username` ![image](https://github.com/immich-app/immich/assets/4334196/dc3bb87b-4059-4ec3-8d67-c845cb558f6c) Tested Scenarios: - Reset the setting to the default by clearing it out - Use an invalid claim (storage label is set to null) - Use a valid claim (storage label is set to mapped value)
OVERLORD added the pull-request label 2026-02-05 14:12:50 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9913