spliit-app / spliit

Free and Open Source Alternative to Splitwise. Share expenses with your friends and family.
https://spliit.app
MIT License
863 stars 162 forks source link

Possible Addon?: User Accounts #76

Open linw0724 opened 8 months ago

linw0724 commented 8 months ago

Hi, I saw this app while looking for an alternative to Splitwise and it is great! Thanks for all the time and work everyone has put in to this. I just started learning how to code as a hobby so I apologize in advance for not being able to contribute much to the project yet.

I was wondering if it would be within the ethos of the app to have user logins (at least for self hosted instances as an option) through local credentials, or through Google Auth, Facebook, etc.

My thoughts on advantages of this:

bereket42 commented 8 months ago

I wonder if the core contributors are interested in allowing user accounts. If so I'd be happy to help out

ChristopherJohnston commented 7 months ago

for self-hosted, the easiest way to have this behind a login screen is to throw it behind an OIDC screen in a reverse proxy (such as Nginx or traefik). Apps like Keycloak, authentik or zitadel allow the management of accounts, auth and OIDC applications.

If we wanted to add user support, OIDC would probably be more palatable to integrate into spliit than a full user/login system.

edmondsiu0 commented 7 months ago

I second an OIDC approach.

Even an option to accept header like "X-Forwarded-User" or "X-authentik-user" would be a super useful addition on top of forward authenticators.

LIRIKKER commented 6 months ago

+1 to this. Might be the push needed to create and enable user accounts in spiit with an OIDC approach. Should help resolve a bunch of other issues with this app.

Soulplayer commented 2 months ago

This would be a welcome addition for the app!