【问题标题】:Error in oAuth.io for Fitbit authenticationFitbit 身份验证的 oAuth.io 错误
【发布时间】:2015-06-08 06:25:55
【问题描述】:

我收到了错误

Unexpected token u
code: InternalError
message: Unexpected token u

当我点击身份验证请求时在网络视图中

【问题讨论】:

  • 如果您将错误消息的相关部分作为文本包含在帖子中,则可以将其编入索引,并且具有相同消息的人可以使用 Google 或此站点搜索找到它。

标签: ios fitbit oauth.io


【解决方案1】:

我解决了.. 我们还必须在请求中提供状态参数。

【讨论】:

  • 这帮助了我。如果其他人有问题,这是要修复的代码: NSMutableDictionary *options = [[NSMutableDictionary alloc] init]; [选项 setObject:@"true" forKey:@"cache"]; [选项 setObject:@"someValue" forKey:@"state"]; [oauthioModal showWithProvider:@"fitbit" options:options];
  • 非常感谢,太糟糕了,这没有正确记录,但你的答案是正确的。
猜你喜欢
  • 2015-08-05
  • 1970-01-01
  • 1970-01-01
  • 2023-03-12
  • 1970-01-01
  • 2012-10-18
  • 2019-01-03
  • 2012-05-16
  • 2011-02-16
相关资源
最近更新 更多