-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sdk17.0.0 iOS系统17以上 登录不了 token验证失败 #2401
Comments
Hello, In response to the upcoming changes to ATT enforcement, we made changes to the iOS SDK and the SDK no longer provides valid user access tokens in scenarios where the user opts out of ATT. The access token validation or Graph API requests may throw errors like OAuthException - “Invalid OAuth access token - Cannot parse access token”. Our recommendation is that users integrate Limited Login following the official documentation: https://developers.facebook.com/docs/facebook-login/limited-login/ios See more details here. |
Hi @zhong-meta |
使用limited login接口之后,报错190,Bad signature。 |
@owllyi 請問你解決這個問題了嗎? |
iOS Nonce登陆一次就失效了,需要再次拉起登陆来signin |
string nonce = FaceBookManager.GetRawNonce(); |
17.0.0这个版本在iOS17上如果拒绝了idfa就会登录失败,要用服务器JWT格式校验token的方案,客户端要升级Facebook SDK版本和Xcode到最新版本; |
Checklist before submitting a bug report
Xcode version
15.0.1
Facebook iOS SDK version
17.0.0
Dependency Manager
CocoaPods
SDK Framework
Login
Goals
能够正常登录
Expected results
能够成功登录
Actual results
获取用户信息失败,并且后端token校验失败
Steps to reproduce
登录
Code samples & details
Invalid OAuth access token - Cannot parse access token'
The text was updated successfully, but these errors were encountered: