Change OIDC signature algorithm to RS256 to match JWT

In https://github.com/coreos/go-oidc/compare/v3.14.1...v3.15.0, the
JWT signature algorithm verification is moved earlier into the
process, resulting in our existing test failing. The JWT has
algorithm `RS256` set, whereas the verifier had `ES256`. It needs
to have `RS256` to validate the token.
This commit is contained in:
Herman Slatman
2025-08-04 23:41:58 +02:00
parent 6a9c8ae237
commit 2bb1896db3

View File

@@ -2207,7 +2207,7 @@ MCowBQYDK2VwAyEA5c+4NKZSNQcR1T8qN6SjwgdPZQ0Ge12Ylx/YeGAJ35k=
},
Config: &wireprovisioner.Config{
ClientID: "wireapp",
SignatureAlgorithms: []string{"ES256"},
SignatureAlgorithms: []string{"RS256"},
Now: func() time.Time {
return time.Date(2024, 1, 12, 18, 32, 41, 0, time.UTC) // (Token Expiry: 2024-01-12 21:32:42 +0100 CET)
},