Authenticating JWT from a Web Client

Hi,

Does anyone have an example of connecting and authenticating to a XData Server using JWT?

It would help a lot if you have an example that builds on the JWTAuthDemo that comes with Web Core.
I understand and can easily do the native application authentication, but struggle to get the same thing going using a Web Application.

Please, any help will be appreciated! I have no knowledge of programming for a browser, so this is all new to me.

Regards,
Johan

The TMS XData Music demo uses JWT. This demo is included in the TMS XData distribution.

Starting point of information is also here.