YunoHost-Apps / discourse_ynh

Discourse package for YunoHost
https://www.discourse.org/
GNU General Public License v2.0
24 stars 12 forks source link

Support SSO #134

Open felagund opened 2 years ago

felagund commented 2 years ago

Right now, if I understand it correctly, it is not possible to use SSO provided by Yunohost and one must use LDAP, which leads to a different loging screen for Discourse: Screenshot_20221102_122348

I discovered this Discourse plugin: https://meta.discourse.org/t/setup-discourseconnect-official-single-sign-on-for-discourse-sso/13045

It would be great to integrate this so SSO would work out of the box.

I am not sure how difficult it would be and if https://github.com/YunoHost/SSOwat would need to be modified, so maybe I am displacing this?

rubensflinco commented 1 year ago

Hello, I'm using an OpenId SSO system in my community and my SSO I used Dex installed on a YunoHost to use the users themselves register on yunohost as SSO that way you can still customize the login page since Dex allows it through HTML themes, etc. I think it's worth giving the tool a feel.

Link: https://github.com/YunoHost-Apps/dex_ynh https://github.com/discourse/discourse-openid-connect https://comunidade.estudante.dev/

felagund commented 7 months ago

A very functional workaround turned out to use Nextcloud Discourse integration, as Nextcloud has Yunohost SSO, more details here https://forum.yunohost.org/t/discourse-autologin-with-sso/23294