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
Describe the bug
The message handler for selective disclosure requests expects that message.data exists when evaluating the first if statement in the program. Message.data will not exist in certain error conditions, like an expired JWT or an unsupported message type.
Optional chaining on those variables needs to be added to cause that if statement to return false, instead of failing.
Observed behaviour
The program fails due to messagedata.type and message.data.claims being undefined
Versions:
Veramo: 1.2.2
The text was updated successfully, but these errors were encountered:
Bug severity
3
Describe the bug
The message handler for selective disclosure requests expects that message.data exists when evaluating the first if statement in the program. Message.data will not exist in certain error conditions, like an expired JWT or an unsupported message type.
Optional chaining on those variables needs to be added to cause that if statement to return false, instead of failing.
Observed behaviour
The program fails due to messagedata.type and message.data.claims being undefined
Versions:
The text was updated successfully, but these errors were encountered: