YunoHost-Apps / dex_ynh

Federated OpenID Connect Provider package for YunoHost
https://dexidp.io/
GNU Affero General Public License v3.0
6 stars 4 forks source link

Unable to configure in YunoHost due to missing documentation #35

Open jahway603 opened 1 year ago

jahway603 commented 1 year ago

Describe the bug

Unable to find documentation to configure this for YunoHost

Context

N/A

Steps to reproduce

Expected behavior

There would be documentation explaining what the following fields are so that the user can configure this for their YunoHost instance:

Logs

N/A

Limezy commented 1 year ago

Hi, thanks for your feedback. I'm very busy these days... I may try to find a minute to write a tutorial. May I know your usecase ? Dex is a kind of low level app, not really inteded to be installed "by hand" to be honest.

brockhaus commented 1 year ago

Same "problem" here. I tried to find an OpenID provider installed on my yunohost. Searching for "openid" this dex package ist the only result. Maybe this is no OpenID provider but "something else"? The openid provider I installed on another host (prairie) did not have any settings named like this and I can not see what these settings are in the openid process.

P.S.: And if it is not meant to be set "by hand" how is it meant to be set up? What is this yunohost package about?

Limezy commented 1 year ago

@brockhaus there is no documentation yet, but there is still a description, such as "setup a canonical OpenID Connect provider for your YunoHost instance, based on the LDAP user base, that can then be used as an authentification server for other YunoHost apps", which i believe to be pretty clear, at least if you understand what is OpenID Connect (OIDC) and how it works...

This is a server, which means that it will remain useless unless a client app is configured to use this particular OIDC server. Hence my remark above :

In a nutshell, I feel that there is a big misunderstanding about what that app is doing (and what it doesn't). If you can't setup which OIDC server you can use on your client app side, Dex is useless to you.

If you can and if you know what you are doing, you can read the Dex documentation and think of that app as "Dex installed on Yunohost with a ready to use LDAP connector to Yunohost userbase" You can also read the install script of Outline app and/or install Outline, then look around inside /opt/yunohost/dex/config.yaml and /var/www/outline/.env how it works.