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

feat(middleware): Validate user on all endpoints #323

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

jovandeginste
Copy link
Owner

Pass user validation as a middleware instead of a SuccessFunc. Add redirect to signout endpoint if user is not found. Add error logging for failed user validation.

Ref: #321

Pass user validation as a middleware instead of a SuccessFunc. Add
redirect to signout endpoint if user is not found. Add error logging for
failed user validation.

Ref: #321

Signed-off-by: Jo Vandeginste <[email protected]>
@jovandeginste jovandeginste merged commit 2c37c70 into master Nov 8, 2024
3 checks passed
@jovandeginste jovandeginste deleted the handle-deleted-user branch November 8, 2024 16:14
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.

1 participant