Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. Deploy Authentik to already working services and accounts.

Deploy Authentik to already working services and accounts.

Scheduled Pinned Locked Moved Selfhosted
selfhosted
7 Posts 7 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D This user is from outside of this forum
    D This user is from outside of this forum
    [email protected]
    wrote last edited by [email protected]
    #1

    Hi,

    TLDR: Does anyone have an experience with setting Authentik to already existing user accounts, most importantly in Immich?

    I am currently thinking (and studying how to) about deploying Authentik and using it as SSO for the stuff I host. The main reason is to rise the WAF and make them more accessible and appealing for perhaps other family members.

    I already see some roadblocks ahead and am trying to understand, how to go over them in a smooth and safe way.

    For most of the services, there shouldn't be much risk (loosing watch history in jellyfin might be unfortunate but not mission critical).

    Though, I'm running Immich with three users, each with several years of photos.. And here I'm afraid of how to link these already existing photos to the new accounts introduced by Authentik.

    The other service is Nextcloud, but I'm the only one using it now and I could prepare and move the data, contacts and so on, though calendars might be PITA...

    If anybody have some experience with it, I'd be so grateful.

    I run most of my stuff in docker containers on an Unraid server at home, behind a hell of a cgnat and a tiny VPS where my caddy proxy and synapse HS live, and where I'd like to set up the Authentik as well.

    J roofuskit@lemmy.worldR pika@sh.itjust.worksP V A 6 Replies Last reply
    6
    • D [email protected]

      Hi,

      TLDR: Does anyone have an experience with setting Authentik to already existing user accounts, most importantly in Immich?

      I am currently thinking (and studying how to) about deploying Authentik and using it as SSO for the stuff I host. The main reason is to rise the WAF and make them more accessible and appealing for perhaps other family members.

      I already see some roadblocks ahead and am trying to understand, how to go over them in a smooth and safe way.

      For most of the services, there shouldn't be much risk (loosing watch history in jellyfin might be unfortunate but not mission critical).

      Though, I'm running Immich with three users, each with several years of photos.. And here I'm afraid of how to link these already existing photos to the new accounts introduced by Authentik.

      The other service is Nextcloud, but I'm the only one using it now and I could prepare and move the data, contacts and so on, though calendars might be PITA...

      If anybody have some experience with it, I'd be so grateful.

      I run most of my stuff in docker containers on an Unraid server at home, behind a hell of a cgnat and a tiny VPS where my caddy proxy and synapse HS live, and where I'd like to set up the Authentik as well.

      J This user is from outside of this forum
      J This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      I dont think Immich supports turning a normal account into an sso account, though it may be possible with manual database editing.

      1 Reply Last reply
      0
      • D [email protected]

        Hi,

        TLDR: Does anyone have an experience with setting Authentik to already existing user accounts, most importantly in Immich?

        I am currently thinking (and studying how to) about deploying Authentik and using it as SSO for the stuff I host. The main reason is to rise the WAF and make them more accessible and appealing for perhaps other family members.

        I already see some roadblocks ahead and am trying to understand, how to go over them in a smooth and safe way.

        For most of the services, there shouldn't be much risk (loosing watch history in jellyfin might be unfortunate but not mission critical).

        Though, I'm running Immich with three users, each with several years of photos.. And here I'm afraid of how to link these already existing photos to the new accounts introduced by Authentik.

        The other service is Nextcloud, but I'm the only one using it now and I could prepare and move the data, contacts and so on, though calendars might be PITA...

        If anybody have some experience with it, I'd be so grateful.

        I run most of my stuff in docker containers on an Unraid server at home, behind a hell of a cgnat and a tiny VPS where my caddy proxy and synapse HS live, and where I'd like to set up the Authentik as well.

        roofuskit@lemmy.worldR This user is from outside of this forum
        roofuskit@lemmy.worldR This user is from outside of this forum
        [email protected]
        wrote last edited by
        #3

        Yes, I setup authentik and all my services already had accounts. Immich and next cloud included.

        1 Reply Last reply
        1
        • D [email protected]

          Hi,

          TLDR: Does anyone have an experience with setting Authentik to already existing user accounts, most importantly in Immich?

          I am currently thinking (and studying how to) about deploying Authentik and using it as SSO for the stuff I host. The main reason is to rise the WAF and make them more accessible and appealing for perhaps other family members.

          I already see some roadblocks ahead and am trying to understand, how to go over them in a smooth and safe way.

          For most of the services, there shouldn't be much risk (loosing watch history in jellyfin might be unfortunate but not mission critical).

          Though, I'm running Immich with three users, each with several years of photos.. And here I'm afraid of how to link these already existing photos to the new accounts introduced by Authentik.

          The other service is Nextcloud, but I'm the only one using it now and I could prepare and move the data, contacts and so on, though calendars might be PITA...

          If anybody have some experience with it, I'd be so grateful.

          I run most of my stuff in docker containers on an Unraid server at home, behind a hell of a cgnat and a tiny VPS where my caddy proxy and synapse HS live, and where I'd like to set up the Authentik as well.

          pika@sh.itjust.worksP This user is from outside of this forum
          pika@sh.itjust.worksP This user is from outside of this forum
          [email protected]
          wrote last edited by
          #4

          I synced immich to authentik post deployment no issue, but I believe my email matched. I don't recall if I had to configure my user account ontop of the oauth settings or not, I believe it was smart enough to link the same email to the account.

          If you are using a VM style deployment you could run a snapshot of the immich server ahead of time then just rollback if it fails. That's what I do for all services when changing stuff.

          1 Reply Last reply
          2
          • D [email protected]

            Hi,

            TLDR: Does anyone have an experience with setting Authentik to already existing user accounts, most importantly in Immich?

            I am currently thinking (and studying how to) about deploying Authentik and using it as SSO for the stuff I host. The main reason is to rise the WAF and make them more accessible and appealing for perhaps other family members.

            I already see some roadblocks ahead and am trying to understand, how to go over them in a smooth and safe way.

            For most of the services, there shouldn't be much risk (loosing watch history in jellyfin might be unfortunate but not mission critical).

            Though, I'm running Immich with three users, each with several years of photos.. And here I'm afraid of how to link these already existing photos to the new accounts introduced by Authentik.

            The other service is Nextcloud, but I'm the only one using it now and I could prepare and move the data, contacts and so on, though calendars might be PITA...

            If anybody have some experience with it, I'd be so grateful.

            I run most of my stuff in docker containers on an Unraid server at home, behind a hell of a cgnat and a tiny VPS where my caddy proxy and synapse HS live, and where I'd like to set up the Authentik as well.

            V This user is from outside of this forum
            V This user is from outside of this forum
            [email protected]
            wrote last edited by
            #5

            I don't have immich but nextcloud is no problem. You just add a field to each user in authentik and it maps to the existing user.

            1 Reply Last reply
            1
            • D [email protected]

              Hi,

              TLDR: Does anyone have an experience with setting Authentik to already existing user accounts, most importantly in Immich?

              I am currently thinking (and studying how to) about deploying Authentik and using it as SSO for the stuff I host. The main reason is to rise the WAF and make them more accessible and appealing for perhaps other family members.

              I already see some roadblocks ahead and am trying to understand, how to go over them in a smooth and safe way.

              For most of the services, there shouldn't be much risk (loosing watch history in jellyfin might be unfortunate but not mission critical).

              Though, I'm running Immich with three users, each with several years of photos.. And here I'm afraid of how to link these already existing photos to the new accounts introduced by Authentik.

              The other service is Nextcloud, but I'm the only one using it now and I could prepare and move the data, contacts and so on, though calendars might be PITA...

              If anybody have some experience with it, I'd be so grateful.

              I run most of my stuff in docker containers on an Unraid server at home, behind a hell of a cgnat and a tiny VPS where my caddy proxy and synapse HS live, and where I'd like to set up the Authentik as well.

              A This user is from outside of this forum
              A This user is from outside of this forum
              [email protected]
              wrote last edited by
              #6

              Your top priority should be "Are my backups good? / Can I trivially roll back any breaking changes?"
              If an account oopsie can permanently compromise your users' photos, then you have bigger problems to worry about.

              But assuming your backups are good, there isn't much to worry about. I recommend you don't take my word for it and thoroughly read the documentation of each of the services you want to put behind Authentik, but in general, when a service is configured to use SSO, if a user with the same ID already exists on the target service, they are simply merged. The most common ID for this is the email associated with that user on both Authentik and the service. Worst case, if the ID doesn't match, you either get an error saying the user is invalid or you get a new user created on the target service.

              1 Reply Last reply
              1
              • D [email protected]

                Hi,

                TLDR: Does anyone have an experience with setting Authentik to already existing user accounts, most importantly in Immich?

                I am currently thinking (and studying how to) about deploying Authentik and using it as SSO for the stuff I host. The main reason is to rise the WAF and make them more accessible and appealing for perhaps other family members.

                I already see some roadblocks ahead and am trying to understand, how to go over them in a smooth and safe way.

                For most of the services, there shouldn't be much risk (loosing watch history in jellyfin might be unfortunate but not mission critical).

                Though, I'm running Immich with three users, each with several years of photos.. And here I'm afraid of how to link these already existing photos to the new accounts introduced by Authentik.

                The other service is Nextcloud, but I'm the only one using it now and I could prepare and move the data, contacts and so on, though calendars might be PITA...

                If anybody have some experience with it, I'd be so grateful.

                I run most of my stuff in docker containers on an Unraid server at home, behind a hell of a cgnat and a tiny VPS where my caddy proxy and synapse HS live, and where I'd like to set up the Authentik as well.

                N This user is from outside of this forum
                N This user is from outside of this forum
                [email protected]
                wrote last edited by [email protected]
                #7

                I implemented authentik for my immich server just last week and I can confirm that Immich will merge the accounts as long as they have the same email address. My other services I had to configure to use email matching. Paperless-ngx needed an environment variable added to allow it, and Grafana I didn't even have a user created for myself, just used the default admin account.

                Jellyfin doesn't support OIDC without a 3rd party plugin, so I haven't set that one up yet. I also don't use nextcloud, so can't comment on that.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups