Replies: 2 comments
-
Hi, try configuring OIDC via env vars, it's simpler because you don't have to understand if you're editing the right configuration file, even if it's quite clear from the logs which configuration file is used |
Beta Was this translation helpful? Give feedback.
-
Ok, using ENV vars works. At the moment for testing its easier to use config files, but the one in the repo seems to be broken. If I copy/paste the sftpgo.json from here and bind mounting to /var/lib/sftpg/.config/sftpgo, sftpgo won't start with the error
Looks like Line 323 in 950cf67 Same for Line 334 in 950cf67 Also, if you set
Its trying to create a database file in the bind mount config directory for some reason. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm testing sftpgo for potential adoption, and am trying to get OIDC to work using Docker image drakkan/sftpgo:v2.5. I've created an exact copy of the basic config file, and added the oidc section as described in the documentation. However, when I navigate to the login page, there is "Login with OpenID" button.
The logs show its reading the config file from a bind mount:
However, the logs also show that the oidc config looks to empty:
I've even tried to copy that section into the
/etc/sftpgo/sftpg.json
file, but no luck there either.Am I missing a config somewhere to activate OIDC logins?
Any help would be appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions