You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a feature version (like 1.0) we can think of solution how to integrate this check into the middleware.
In our project we check all authentication with the help of http subrouters and middlewares before the actual endpoint.
subrouter.Use(
middleware.AuthenticationHandler
)
A way to customise this Middleware and enable/disable parts of the validation based on the route would be really cool. Maybe something like the following:
func (m*Middleware) CreateAuthenticationHandler(proofOfPossessionoptions) func(handler http.Handler) http.Handler {
// return the actual AuthenticationHandler with options enabled/disabled// and checks like azp == expected caller client id
}
For a feature version (like 1.0) we can think of solution how to integrate this check into the middleware.
In our project we check all authentication with the help of http subrouters and middlewares before the actual endpoint.
A way to customise this Middleware and enable/disable parts of the validation based on the route would be really cool. Maybe something like the following:
Originally posted by @f-blass in #35 (comment)
The text was updated successfully, but these errors were encountered: