解析无效会话令牌错误 1.8.2 [英] Parse invalid session token error 1.8.2

查看:26
本文介绍了解析无效会话令牌错误 1.8.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行应用程序时,我目前在应用程序的终端中收到此错误.不久前它工作正常,但现在我收到无效会话令牌错误,我不知道为什么.我试图解决这个问题,但没有成功.

我已尝试阅读此解析帮助教程,了解如何使用链接

解决方案

这在仪表板和文档中都有明确说明.如果您启用要求可撤销会话",所有使用旧令牌(不可撤销)的会话都将失效,您必须重新登录.

你有两种可能性:

  • 您的应用正在生产中,并且您有用户使用旧版本的 SDK(意味着他们使用旧令牌).那么您应该立即禁用需要可撤销的会话".
  • 您仍在开发您的应用,然后启用需要可撤销会话",不要添加迁移代码,只需重新安装您的应用.

I am currently getting this error in the terminal of my application when I run it. It was working fine not to long ago but now I am getting an Invalid Session Token error and I'm not sure why. I have tried to resolve this issue with no success.

I have tried reading upon this parse help tutorial on how to fix this error with the link https://www.parse.com/tutorials/session-migration-tutorial, but when I try entering that line of iOS code in the line below where I enter the client & Application ID, it does not run (I get a failed error).

I have also have "Require Revocable Sessions" enabled in the dashboard of ma application which it says to do in the link provided.

If anybody else is having this issue and can help me solve it, that would be fantastic, thank you!

解决方案

This is clearly stated on the dashboard and in the documentation. If you enable "Require Revocable Sessions", all sessions that use legacy tokens (non revocable) will be invalidated and you will have to login again.

You have 2 possibilities :

  • Your app is in production and you have users using it with an old version of the SDK (meaning they use old tokens). Then you should disable "Require Revocable Sessions" immediately.
  • You're still developing your app, then leave "Require Revocable Sessions" enabled, do not add the migration code and just re install your app.

这篇关于解析无效会话令牌错误 1.8.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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