outposts/proxy: don't save raw jwt in cookie to prevent securecookie: the value is too long

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-12-06 13:54:59 +01:00
parent 873aa4bb22
commit b3e40c6aed
3 changed files with 0 additions and 4 deletions

View File

@ -45,6 +45,5 @@ func (a *Application) redeemCallback(r *http.Request, shouldState string) (*Clai
if err := idToken.Claims(&claims); err != nil {
return nil, err
}
claims.RawToken = rawIDToken
return claims, nil
}