mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-28 05:59:10 +02:00
core/proxy: support loading sessions from headers and query string (#5291)
* core/proxy: support loading sessions from headers and query string * update test
This commit is contained in:
parent
3dadcf1825
commit
fd025eef89
8 changed files with 136 additions and 104 deletions
|
@ -48,7 +48,7 @@ func (a *Authorize) Check(ctx context.Context, in *envoy_service_auth_v3.CheckRe
|
|||
requestID := requestid.FromHTTPHeader(hreq.Header)
|
||||
ctx = requestid.WithValue(ctx, requestID)
|
||||
|
||||
sessionState, _ := state.sessionStore.LoadSessionState(hreq)
|
||||
sessionState, _ := state.sessionStore.LoadSessionStateAndCheckIDP(hreq)
|
||||
|
||||
var s sessionOrServiceAccount
|
||||
var u *user.User
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue