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
According to the JWT documentation, if the constructor fails, it could also be that the signature was wrong.
Decode a JWT from a JWT string
A JWT struct can be initialized from a JWT string. If a JWTVerifier is provided it will be used to verify the signature before initialization
Whereas the validateClaims function only validates the claims on the JWT (e.g. nbf or exp) and does nothing regarding the signature:
dp3t-sdk-ios/Sources/DP3TSDK/utils/JWTVerification.swift
Line 64 in f0f4939
According to the JWT documentation, if the constructor fails, it could also be that the signature was wrong.
Whereas the
validateClaims
function only validates the claims on the JWT (e.g. nbf or exp) and does nothing regarding the signature:dp3t-sdk-ios/Sources/DP3TSDK/utils/JWTVerification.swift
Line 66 in f0f4939
The text was updated successfully, but these errors were encountered: