Skip to content
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

[🐛 Bug]: Redirection to requested page does not work after sign-in locally (NO_AUTH) #3289

Closed
skynetigor opened this issue Feb 3, 2025 · 1 comment · Fixed by #3290
Closed
Labels
Bug Something isn't working

Comments

@skynetigor
Copy link
Contributor

No description provided.

Copy link

dosubot bot commented Feb 3, 2025

The redirection logic for the sign-in process is implemented in the keep-ui/middleware.ts file. If a user is authenticated and on the sign-in page, they are redirected to the incidents page or a callback URL. However, in NO_AUTH mode, there might be specific logic that handles redirection differently, especially for metrics endpoints [1][2].

To troubleshoot the issue, ensure that the AUTH_TYPE is correctly set to NOAUTH in your environment variables for both the frontend and backend. Additionally, check if the KEEP_NO_AUTH_METRICS configuration is set to True, as this can affect authentication checks for specific endpoints [3].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the Bug Something isn't working label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant