IBM MobileFirst v8尝试在成功登录挑战处理程序后获取android cordova app上的Token [英] IBM MobileFirst v8 trying to obtain Token on android cordova app after successful login challenge handler

查看:214
本文介绍了IBM MobileFirst v8尝试在成功登录挑战处理程序后获取android cordova app上的Token的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  • App:cordova application

  • platform:android

  • mfp server:8.0.0.00-20170124-152449

  • mfp-plugin:8.0.2017013103

  • android cordova build:6.1.2

  • 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:错误请求,responseText:{\errorCode \:\invalid_client \,\errorMsg \:\\ \\JWT格式不正确\},errorMsg:JWT格式不正确,errorCode:invalid_client}

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

推荐答案

问题的最常见原因是客户端和服务器之间的时间同步失败。验证服务器时间是否偏离客户端。特别是如果服务器将来有时间。客户端必须与服务器时间同步或者应该在服务器之前。

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.

这篇关于IBM MobileFirst v8尝试在成功登录挑战处理程序后获取android cordova app上的Token的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆