authenticate: remove /.pomerium/callback handler (#5553)

This commit is contained in:
Caleb Doxsey 2025-03-28 13:04:25 -06:00 committed by GitHub
parent bed6770e16
commit 1a199eb9f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 70 deletions

View file

@ -20,14 +20,3 @@ func (a *Authenticate) requireValidSignatureOnRedirect(next httputil.HandlerFunc
return next(w, r)
})
}
// requireValidSignature validates the pomerium_signature.
func (a *Authenticate) requireValidSignature(next httputil.HandlerFunc) http.Handler {
return httputil.HandlerFunc(func(w http.ResponseWriter, r *http.Request) error {
err := a.state.Load().flow.VerifyAuthenticateSignature(r)
if err != nil {
return err
}
return next(w, r)
})
}