JWT Invalid when using SinglePage App flow

Please help!.

Attempting to use Auth0 with Tyk

In my configuration I have a number of API based gateways which all work fine, and are protected with JWT’s.
I am attempting to add JWT validation to a number of single page apps, and everytime I get the following error, even though it is setup up exactly the same as the working api (bar the client id) with a different endpoint.

I know the JWT is valid (I can validate the signature with the cert from Auth0)

Nov 9 16:55:45] WARN openid: JWT Invalid: Validation error. Jwt token validation failed with unknown error.
[Nov 9 16:55:45] WARN openid: Attempted access with invalid key. key=[JWT]
[Nov 9 16:55:45] ERROR gateway: request error: Key not authorised api_id=8732caae05c34b0f790f988c7985df6e org_id=5820612bbf752a090b000001 path=/users/ server_name=http://192.168.50.107:82/ user_id= user_ip=192.168.40.107

Thanks
Joe

Could the JWT token be getting encoded (base64 or URL encoded) by the spwa?