Conversation
There was a problem hiding this comment.
I think this was my editor trying to be clever and formatted the markdown file, happy to revert back and just add my changes in.
|
I will try with authentik this week. |
|
I have tried with Tinyauth for using Github's oauth2 (because Github doesn't support OIDC) and it's working fine. :) |
|
Hi @dullage , any thoughts on this :) |
I have switched to Alexandrie (https://github.com/Smaug6739/Alexandrie) |
|
I tried to integrate the OIDC version with authentik. |
AFAIK OIDC providers allow the users to configure the callback URL, and don't require them to be in a specific format. Mind sharing the error message you receive when triggering the oauth flow? The HTTP route is hardcoded here, and has to be static. |
Hmm this does seem tempting. I want a barebones no-nonsense simple notes keeping app, which flatnotes does wonderfully. The one good thing I see about Alexandrie though is that is can do hierarchal notes. |
Hi @anujc4, sorry for the delayed response on this PR, and thanks for getting involved. Whilst I would be interested in supporting OICD, it's not something I've implemented in the past and therefore there's a fair bit of time needed for me to get up to speed and review the changes (which I notice also include new dependencies which I'll need to review). Unfortunately, I don't get as much free time as I'd like to spend on flatnotes. But I am hoping to put some time aside in the not too distant future and will try and take a look at this then. |
Yes, i saw the hardcoded path. I did this kind of redirection, which works with Homarr (dashboard app) It seems to not work with flatnotes, but i don't see why right now. |
|
Why don't we have in the docker file this kind of keys ? |
|
It's working now... just the terms are quiet different from what i used to read/write, specially if you compare with Homarr application. Here is the config that worked for me: |
First off, thanks for the awesome projet @dullage
This PR implements OIDC authentication as raised in issue #289.
I have tested this on my production flatnotes instance with Pocket ID and it works.
I went through the contributing guide and I am aware that you want to keep the project simple. I think having OIDC authentication is a good to have since password auth alone is nowhere secure (TOTP helps tho).
Happy to know your thoughts.