Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Refactor: move auth middleware#116

Merged
abdulqshabbir merged 5 commits intodevfrom
refactor/move-auth-middleware
Apr 4, 2025
Merged

Refactor: move auth middleware#116
abdulqshabbir merged 5 commits intodevfrom
refactor/move-auth-middleware

Conversation

@abdulqshabbir
Copy link
Copy Markdown
Contributor

@abdulqshabbir abdulqshabbir commented Apr 3, 2025

Summary

Refactor auth middleware

Tests

Run route APIs to check if auth middleware is still running

Additional Info

While doing the refactor, I noticed the GET /teams route was listed semantically as a public route but there was a authorizeVolunteer middleware check (which also checks for session) so it was acting like a private route. For now I've made it public but I can switch that around

Resolves #96

@abdulqshabbir abdulqshabbir merged commit 94b1c23 into dev Apr 4, 2025
2 checks passed
@abdulqshabbir abdulqshabbir deleted the refactor/move-auth-middleware branch April 4, 2025 03:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Middleware Implementation Limitation in Hono Routing

3 participants