Browse Source

feat: add integration tests for authproxy connector with nginx configuration

Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
pull/4590/head
maksim.nabokikh 1 month ago
parent
commit
ef8cbcfaf4
  1. 2
      connector/authproxy/authproxy_integration_test.go

2
connector/authproxy/authproxy_integration_test.go

@ -35,7 +35,7 @@ func startTestBackend(t *testing.T, conn *callback) (cleanup func()) {
mux := http.NewServeMux()
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
ident, err := conn.HandleCallback(connector.Scopes{Groups: true}, r)
ident, err := conn.HandleCallback(connector.Scopes{Groups: true}, nil, r)
result := identityResult{Identity: ident}
if err != nil {
result.Error = err.Error()

Loading…
Cancel
Save