mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 02:18:27 +00:00
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:
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user