Open ctrlbrk42 opened 8 months ago
I found TOKEN_EXPIRY and am trying that, I didn't see initially (I keep having trouble not finding the docs to your project).
docker env: TOKEN_EXPIRY: 5184000 # 60-days
There is currently no way to integrate with other auth mechanisms. TOKEN_EXPIRY
is a suitable way of increasing the limit.
I keep having trouble not finding the docs to your project
Not sure how, it's linked in the project README and added as the project website in the about section. Here's a link as well: https://notemark.docs.enchantedcode.co.uk/docs/
Will it accept 0 or -1 value to effectively disable?
It only accepts the number of seconds until expiry and cannot currently be disabled.
How do you currently provide authentication through your reverse proxy?
In the future I plan to add external authentication via OAuth2, since this is what the app uses internally already.
For something like this, I'm just using basic auth in caddy since it doesn't have anything super sensitive.
Thanks for responding.
Does it fit the projects scope?
Why?
I am using a reverse proxy for auth, so I prefer not having to re-login to the KB every day.
Solution?
Can you provide a docker env var to disable authentication and just set a default username? Or can you provide a mechanism to set the cookie expiration to a far away date.
Alternatives?
No response
Extra Context
No response