JavaScript Example: Initializing the SDK

<script src="[INSERT clientLibrary VALUE HERE]" integrity=”[INSERT clientLibraryIntegrity VALUE HERE]” crossorigin=”anonymous”></script> <script> Accept('header.payload.signature').then(function(accept) { // use accept object }); </script>
In this example,
header.payload.signature
refers to the capture context JWT.