Add OIDC integration tests

This commit is contained in:
roman
2023-01-17 08:11:06 +03:00
parent 59592ba463
commit 18f2e9055f
3 changed files with 524 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ func BuildAndRunTestServer(t *testing.T, caPath, caKeyPath string) *TestServer {
jwksURL, err := url.JoinPath(httpServer.URL + jwksWebPath)
require.NoError(t, err)
userInfoURL, err := url.JoinPath(httpServer.URL + authWebPath)
require.NoError(t, err)
err = json.NewEncoder(writer).Encode(struct {
Issuer string `json:"issuer"`