Comment by znpy
2 years ago
> 1. build a single endpoint handler that handles auth, then looks up the endpoint on the path. 2. Never create direct endpoints, just register endpoints in the system that the auth endpoint works under.
So like, an authn/authz middleware ?
No comments yet
Contribute on Hacker News ↗