IBM MobileFirst v8 trying to obtain Token on andro

2019-09-08 15:26发布

问题:

  • App: cordova application
  • platform :android
  • mfp server :8.0.0.00-20170124-152449
  • mfp-plugin :8.0.2017013103
  • android cordova build :6.1.2

    {"status":400,"statusText":"Bad Request","responseText":"{\"errorCode\":\"invalid_client\",\"errorMsg\":\"Incorrect JWT format\"}","errorMsg":"Incorrect JWT format","errorCode":"invalid_client"}

回答1:

The most common cause of the issue is failure in time synchronization between client and server. Verify if the server time is offset from the client. Specifically if the server has a time in the future.Client has to be synchronized with server time or should be ahead of the server.