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
In prior version of the Plaid SDK, the JWTHeader interface included properties like kid which are required for webhook verification. Now the JWTHeader definition only includes a single id property and is missing the other header information.
@kevinohara80 thanks for the report! Honestly, the JWTHeader object possibly should not be in the SDK at all, since it is not directly part of the interface, but rather something that the user has to extract from the verification header. It also does not appear to be heavily used, since I believe it's been defined like this since 2020 and this is the first bug report we've gotten on it :-). However, for compatibility reasons, we can update the definition in the next release.
In prior version of the Plaid SDK, the
JWTHeader
interface included properties likekid
which are required for webhook verification. Now theJWTHeader
definition only includes a singleid
property and is missing the other header information.This used to work but now fails:
The text was updated successfully, but these errors were encountered: