librephotos icon indicating copy to clipboard operation
librephotos copied to clipboard

OpenID support

Open tomlawesome opened this issue 3 years ago • 4 comments

Describe the enhancement you'd like Add support for OpenID connect

Describe why this will benefit the LibrePhotos Improved connectivity with well-established authentication systems encourages a wider user base.

Additional context One of the major barriers to self/community hosting is encouraging users to use the services you host. One of the biggest barriers to this is multiple logins for different services. Implementing SSO removes this barrier. For the individual user SSO removes having yet another account to manage.

Apologies if this has been requested before. I searched but found nothing.

tomlawesome avatar Nov 28 '21 00:11 tomlawesome

Would be a huge improvement Will it be implemented ? If yes any ETA ?

tieb62 avatar Mar 21 '23 15:03 tieb62

I feel this could be easily implemented by switching to using Django-All-Auth for authentication. And allowing admin users to access the generic admin page (so they can add their social app providers easily)

Scot-Survivor avatar Aug 17 '23 14:08 Scot-Survivor

We mostly rely on JWT authentication and not session based authentication. If you implement this, make sure that django-rest-auth generates proper JWT tokens after logging in with Django-All-Auth.

derneuere avatar Aug 18 '23 10:08 derneuere

Yeah that makes sense.

Scot-Survivor avatar Aug 19 '23 11:08 Scot-Survivor