Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <[email protected]>
  • Loading branch information
spacewander committed Feb 19, 2024
1 parent ec05fbd commit 2d4a005
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/tests/integration/oidc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package integration
import (
"encoding/base64"
"encoding/json"
"fmt"
"net/http"
"net/url"
"os/exec"
Expand Down Expand Up @@ -71,8 +72,11 @@ func TestOIDC(t *testing.T) {
"issuer": "http://host.docker.internal:4444",
})
controlPlane.UseGoPluginConfig(config, dp)
time.Sleep(1 * time.Second)

resp, err := dp.Get("/echo?a=1", nil)
require.Nil(t, err)
fmt.Printf("AAAA %+v\n", resp)
uri := resp.Header.Get("Location")
u, err := url.ParseRequestURI(uri)
require.NoError(t, err)
Expand Down

0 comments on commit 2d4a005

Please sign in to comment.