This example shows how to use JWT for custom authentication.
It implements the authCallback function and calls getToken.php on the server to generate a token and passes it into the widget for verification.