-
|
Does Ghostfolio support SSO through OAuth or SAML? Ghostfolio has a very specific login interface where users need to memorize a token to login... I already have Authentik setup for all the services I run in my lab, wondering if anyone has done this already. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 26 replies
-
|
Lets patch ghostfolio to accept the token as custom header provided by the reverse proxy which gets it from a custom property mapping in authentik, which extracts it from the users attributes using python |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, Ghostfolio uses Passport.js for authentication. Could integrating the passport-oauth2 strategy help with your use case? Would you be able to work on this integration? Let us know if you would like to explore this. |
Beta Was this translation helpful? Give feedback.
-
|
Hi. @dtslvr, I've done an implementation of OIDC and tested with Authentik in my setup. Maybe there are some architectural decisions that you would change and some style issues but it works in all tests that I've done. If you like I can do a PR so that you can have a look and give me some guidelines to adapt this. It would need to be tested in different setups with Authelia and some other authentication gateways. I've not tested together with Google auth neither. |
Beta Was this translation helpful? Give feedback.
-
|
I would like to enable oauth with authentik. Where do I see how the env vars are named so i can confire it? |
Beta Was this translation helpful? Give feedback.
-
|
Hey @gmag11! Thanks for the nice work on this. Any ideas what might be causing this? I don’t see anything specific in the logs. The URL is: $ROOT_URL/api/auth/oidc/callback?code=xxxxxx&state=xxxxxxx |
Beta Was this translation helpful? Give feedback.
-
|
Hello Team, I just implemented this (so happy and even more when we'll have the possibility to link existing account to it). So in env, I added: But in logs, I had this: doing a curl from ghostfolio to https://auth.myrealdomain.com/.well-known/openid-configuration So I insisted and added: And container started to boot ! but then I have a 401 while tryring to play... I'll try to debug tonight |
Beta Was this translation helpful? Give feedback.
-
|
I'm exactly on the same page here. I didn't manage to get any log output for that. |
Beta Was this translation helpful? Give feedback.
-
|
Just installed Ghostfolio with Authelia identification, so far everything works fine. |
Beta Was this translation helpful? Give feedback.
Hi, you just need to fill:
There is no need to configure OIDC_CALLBACK_URL or other OIDC settings.
Ensure that REDIRECT_URI in Authentik is set to https://<your_ghostfolio>/api/auth/oidc/callback
If you leave REDIRECT_URI empty in Authentik it will accept and configure first uri that it gets.
Hope it helps.