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

Improve error handling and logging in get_current_user_by_jwt function #2165

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

ogabrielluiz
Copy link
Contributor

This pull request improves the error handling and logging in the get_current_user_by_jwt function. It adds better error messages and logs when authentication fails, the token expires, or the user is not found or inactive. This enhances the security and user experience of the application.

Copy link

vercel bot commented Jun 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow ❌ Failed (Inspect) Jun 13, 2024 9:31pm

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Jun 13, 2024
@ogabrielluiz ogabrielluiz merged commit 5300b9c into dev Jun 14, 2024
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant