mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-10 15:47:36 +02:00
remove forward auth (#3628)
This commit is contained in:
parent
ba07afc245
commit
fa26587f19
68 changed files with 302 additions and 5072 deletions
|
@ -201,11 +201,6 @@ func (a *Authenticate) SignIn(w http.ResponseWriter, r *http.Request) error {
|
|||
jwtAudience = append(jwtAudience, callbackURL.Host)
|
||||
}
|
||||
|
||||
// add an additional claim for the forward-auth host, if set
|
||||
if fwdAuth := r.FormValue(urlutil.QueryForwardAuth); fwdAuth != "" {
|
||||
jwtAudience = append(jwtAudience, fwdAuth)
|
||||
}
|
||||
|
||||
s, err := a.getSessionFromCtx(ctx)
|
||||
if err != nil {
|
||||
state.sessionStore.ClearSession(w, r)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue