Validate the sign value which is provided when an appSession is sent to your app. For further information on this process refer to the documentation.
try { validateAppSessionSignature("cda-compliance", "qP-7GNoDJ5c", requestBody); //pass or error } catch(e) { // respond with 403 - Forbidden }} Copy
try { validateAppSessionSignature("cda-compliance", "qP-7GNoDJ5c", requestBody); //pass or error } catch(e) { // respond with 403 - Forbidden }}
InvalidAppSessionSignatureError indicates that the sign-value is not valid
Validate the sign value which is provided when an appSession is sent to your app. For further information on this process refer to the documentation.