[2FA/TOTP] Direct support for 2FA/TOTP. #8175
Replies: 11 comments 16 replies
-
Immich intentionally keeps auth simple and delegates to dedicated solution. That's a design choice that is unlikely to change. |
Beta Was this translation helpful? Give feedback.
-
i agree with @qauff i think the need to use an external service, isn't a good idea. for example, i decided to not use 2fa in my install, because it was an other step in the setup. pleast add TOTP |
Beta Was this translation helpful? Give feedback.
-
Very surprised there is no native TOTP-support. Started to set up Authelia (and looked at Authentik) but gave up. Spinning up several new containers, edit config files and trying to learn all about this new topic proved too much for me. I see people asking all the time about 2FA/TOTP-support. I really hope this would be reconsidered. |
Beta Was this translation helpful? Give feedback.
-
Would also want see an implementation of TOTP 2FA to add extra layer of security, specially on interface facing the open internet. Lot of open source apps I use have this, like NextCloud and Firefly III, and it's easy to enable without any additional running services. Doesn't seem to be that hard to implement either after what I researched earlier. It's pretty crucial for security reasons. If someone manage to brute force the login, you are screwed. Having 2FA prevents malicious actor gaining access even thru brute forcing. I looked into OAuth, and although it's good, it require additional services and configurations to be set up for one service, which I would argue that many skip because of the added complexity. |
Beta Was this translation helpful? Give feedback.
-
Come on, 2FA is a no-brainer. Nuff said. |
Beta Was this translation helpful? Give feedback.
-
It's a very odd decision. I chose Immich specifically to avoid dependency on external services. But if the alternative is setting up a new container, keeping it safe and updated, editing config files, configuring the reverse proxy (more file editing), adjusting DNS settings and learning an entirely new process just to have some form of TOTP/2FA exclusively for Immich, that’s just too much. I really like Immich, and I’m very grateful to the developers, but for me, this is a hard pill to swallow. |
Beta Was this translation helpful? Give feedback.
-
@schuhbacca I know that it is a design decision that auth should be delegated to an IdP. But not all users are able to operate an IdP, especially if only for one app. That's why I'm asking you to add this feature request to the roadmap. |
Beta Was this translation helpful? Give feedback.
-
I wouldn’t mind looking into implementing this feature myself. But I don’t want to have my PR auto rejected because it’s a design choice. I still strongly believe this is a necessary feature and don’t mind contributing. |
Beta Was this translation helpful? Give feedback.
-
Just look at the amount of interest in this thread alone, how can this be ignored or prs rejected. So strange. |
Beta Was this translation helpful? Give feedback.
-
This has been covered thoroughly in a handful of other places, but I'll rehash it here once more. Implementing a good authentication system is hard, and therefore easy to get wrong, while being exactly the sort of thing you do not want to get wrong. We decided a long time ago that the risk of getting it wrong is not worth it, because it is easy enough to support OAuth and delegate the hard parts to other people who know what they're doing and have all the auth stuff figured out. That's an application security decision that community interest doesn't have much bearing on. There are many great OAuth providers out there, including options you don't have to manage yourself such as using something like Github as the OAuth provider. If you have the knowledge necessary to manage Immich, you can also figure out OAuth, and then you can rest easy knowing that the critical authentication layer is being handled by people who are fully focused getting it right. |
Beta Was this translation helpful? Give feedback.
-
I have tried to setup Authentik but it went so over my head I don't even know what I was looking at. I'm not an IT guy. I'm also behind CGNAT and my only option is cloudflare tunnel which makes everything even more complicated with certificates. |
Beta Was this translation helpful? Give feedback.
-
The feature
I see that OAuth is supported now and I understand previous feature requests were closed because that's one way of achieving this. But I'd argue that having to set up a separate service, and relying on that instead isn't exactly what this feature is.
It would be great if we could get proper 2FA / TOTP support in Immich directly without needing to jump to a different service (selfhosted or otherwise).
Platform
Beta Was this translation helpful? Give feedback.
All reactions