Is it Possible to Encrypt a JWT token in Php And Decrypt in Javascript?
<p>I am Currently using two libraries for JWT . First one for server side </p>

<p><a href="https://github.com/nov/jose-php" rel="nofollow">jose php Library</a></p>

<p>and the second one for client side </p>

<p><a href="https://github.com/square/js-jose" rel="nofollow">jose js library</a></p>

<p>I am creating a token based login system . All i want is to create a token at server side and after encrypting with JWE(JSON WEB ENCRYPTION) return that token to client and save to html5 local storage .</p>

<p>issue is to decrypt encrypted token in javascript JOSE Library</p>