Skip to content

feat(auth): Added env variable for OAuth timeout #1136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 22, 2025

Conversation

Kaio-Cesar
Copy link
Contributor

Small change to add a new env variables for OAuth timeouts, on some configurations, particularly on lower-end hardware (Such as my homelab orange pi), the authentication provider can take too much time to respond, with results in a timeout and failed authentication

The same behavior has been reported over at Homarr, which uses next-auth as well: ajnart/homarr#1995

(My homelab is an orangepi zero3, the auth provider is Authentik)

@MohamedBassem
Copy link
Collaborator

Hey, thanks for opening the PR! LGTM! Can you please update the docs/docs/03-configuration.md to add documentation for the new flag? Thanks.

@Kaio-Cesar
Copy link
Contributor Author

Added the docs, thanks!

@MohamedBassem MohamedBassem merged commit 71fff38 into karakeep-app:main Mar 22, 2025
5 checks passed
@MohamedBassem
Copy link
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants