mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-18 22:14:22 +00:00
Upgrade project dependencies to latest
- Upgrade Go used in CI from 1.19.0 to 1.19.1 - Upgrade all go.mod direct dependencies to latest available versions - Upgrade distroless base image to latest available version - Upgrade Go fips compiler to to latest available version Note that upgrading the go-oidc library changed an error message returned by that library, so update the places where tests were expecting that error message.
This commit is contained in:
@@ -175,7 +175,7 @@ func TestProviderConfig(t *testing.T) {
|
||||
{
|
||||
name: "invalid ID token",
|
||||
returnIDTok: "invalid-jwt",
|
||||
wantErr: "received invalid ID token: oidc: malformed jwt: square/go-jose: compact JWS format must have three parts",
|
||||
wantErr: "received invalid ID token: oidc: malformed jwt: oidc: malformed jwt, expected 3 parts got 1",
|
||||
},
|
||||
{
|
||||
name: "invalid access token hash",
|
||||
@@ -1004,7 +1004,7 @@ func TestProviderConfig(t *testing.T) {
|
||||
requireIDToken: true,
|
||||
rawClaims: []byte(`{"userinfo_endpoint": "not-empty"}`),
|
||||
userInfo: forceUserInfoWithClaims("some-other-subject", `{"name": "Pinny TheSeal", "sub": "some-other-subject"}`),
|
||||
wantErr: "received invalid ID token: oidc: malformed jwt: square/go-jose: compact JWS format must have three parts",
|
||||
wantErr: "received invalid ID token: oidc: malformed jwt: oidc: malformed jwt, expected 3 parts got 1",
|
||||
},
|
||||
{
|
||||
name: "invalid nonce",
|
||||
@@ -1141,7 +1141,7 @@ func TestProviderConfig(t *testing.T) {
|
||||
name: "invalid ID token",
|
||||
authCode: "valid",
|
||||
returnIDTok: "invalid-jwt",
|
||||
wantErr: "received invalid ID token: oidc: malformed jwt: square/go-jose: compact JWS format must have three parts",
|
||||
wantErr: "received invalid ID token: oidc: malformed jwt: oidc: malformed jwt, expected 3 parts got 1",
|
||||
},
|
||||
{
|
||||
name: "invalid access token hash",
|
||||
|
||||
Reference in New Issue
Block a user