We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f532a9 commit 5674997Copy full SHA for 5674997
test/JWSSignerTest.cs
@@ -46,7 +46,9 @@ public void TestGenerateSignature()
46
byte[] decodedSignature = UrlBase64.Decode(signature);
47
int decodedSignatureLength = decodedSignature.Length;
48
49
- Assert.AreEqual(66, decodedSignatureLength);
+
50
+ bool isSignatureLengthValid = decodedSignatureLength == 66 || decodedSignatureLength == 64;
51
+ Assert.AreEqual(true, isSignatureLengthValid);
52
}
53
54
0 commit comments