How do i use javascript to validate the token from Office.context.mailbox.getUserIdentityTokenAsync(). Are there any javascript libraries for this?
Office.context.mailbox.getUserIdentityTokenAsync()
Here is documentation on validating an identity token. We do not supply a JS library.