YunoHost-Apps / tandoor_ynh

Tandoor package for YunoHost
https://tandoor.dev
MIT License
3 stars 5 forks source link

[feature] Support Yunohost SSO #20

Open selfhoster1312 opened 1 year ago

selfhoster1312 commented 1 year ago

Not a bug, but it would be nice to support Yunohost Single Sign On on Tandoor. There's i think two problems to solve. I don't have a good solution to propose but i'm just writing some thoughts here for further reference .

Internal user creation

Tandoor creates internal users in its DB on login, so it may require additional logic upstream to auto-create users when a "logged-in user" (as declared by HTTP header) does not exist yet in DB.

Tandoor Admin account

The admin account, from what i understand, cannot be a "normal" account. Is that correct? In any case, the Yunohost package should allow to configure it.

dankerthrone commented 4 days ago

I would also very much welcome this. I have no idea how to do it, but yeah, that would be nice feature to have.