I’m an immich user, switching from a standard u/p login to an SSO-based login.

I’ve tested the SSO login successfully, it seems to work, and I’m not having any issues with that.

However, the account generated by SSO login has a different email address and identifiers from the account I created earlier. I don’t want to start from scratch with my photos, as I’ve spent countless hours updating metadata.

I think I need one of the following:

  1. a supported, tested way to merge an account with another account. I don’t know if this is going to be similar to the “partner sharing” feature. I don’t want to simply share the photos, I want to have full control over them; including, if I delete a photo, it’s gone forever.
  2. a tested way to manually update the database to change all identifiers over to the new account
  3. a way to login to the existing account via my SSO portal. I can create any SSO user I want, for example.
  4. a way to export the entire library with metadata and re-import it to the new SSO account, structured exactly the same way. Ideally this would also restore anything ML has done with my photos, but it’s not a disaster if I have to wait for ML to recreate what it already did in the new account.

Does anyone have information on how to achieve one of the above?

Followup question:

  • can anyone confirm with certainty that metadata changes I made in immich have been saved in the image files in /library/upload/*? I am already making backups (both pg_dump and the entire contents of the library), but it would be nice to know where the metadata is actually kept, in case I have to do DR.
  • coffee_chum
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 months ago

    I’m pretty sure it’s a lot easier than all of that. Account settings -> oauth -> link to oauth. That’s it. Maybe gets more complicated but sounds like that should be it for your use case.

    • xantoxis@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      Thanks! I’ll try this and report back. This sounds like a version of (#1) - merge accounts.

    • just_another_person@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      This is the answer. Otherwise, you’ll need to go into the DB and perform a migration of the objects to that new user, but the chances you’ll cover all the bases there and not cause issues will be slim.