You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed this in my own test cases - when using the none algorithm the sign() function now throws an error if a secret isn't defined. (which is find for alg: none)
I believe the simple workaround which preserves the workaround added in #374 is to simply set the secretOrPrivateKey to any string when the algorithm is set to none. Will add a PR shortly.
The text was updated successfully, but these errors were encountered:
Noticed this in my own test cases - when using the none algorithm the sign() function now throws an error if a secret isn't defined. (which is find for
alg: none
)I believe the simple workaround which preserves the workaround added in #374 is to simply set the secretOrPrivateKey to any string when the algorithm is set to
none
. Will add a PR shortly.The text was updated successfully, but these errors were encountered: