Mobilefirst Invoking Protected Ressource Error 400 INVALID_CLIENT

172 Views Asked by At

Every time i try to invoke a protected ressource i get this error :

"{"errorCode":"invalid_client","errorMsg":"Incorrect JWT format"}"

I tried almost all cordova-plgin-mfp versions,

I have the latest IFIX for mobilefirst and updated my mfpdev-cli,

What is wrong ??

2

There are 2 best solutions below

0
On

As you have observed, this error occurs when there is a mismatch of server and device time. This can not be configured or bypassed.

3
On

My server time was 17:38 and my mobile time was 17:36 so i changed the server time to match exactly the mobile time and it worked,

is this behavior normal ? and is it configurable or can i bypass it ?