facebook-sdk-for-unity icon indicating copy to clipboard operation
facebook-sdk-for-unity copied to clipboard

Unknown auth error for test users in the partial outage app.

Open rsolovjov opened this issue 2 years ago • 0 comments

Environment:

  • Installation Platform: iOS v16.1.1
  • Unity Editor Version: v2021.3.16f1 (Optimized for Apple Silicon)
  • Unity SDK Version: v14.1.0 or v15.2.0
  • MyApp now is Default Facebook example for Unity with my app settings
  • Latest Facebook app from AppStore
  • Sate of MyApp on Facebook: -- Partial outage. MyApp has been restricted by Facebook. -- App Mode: Development

Goals:

  • Auth in MyApp via Facebook with test user and get Access Token. And after that get username and user avatar.

Steps to Reproduce:

  • Build Facebook example app with MyApp settings
  • Create Facebook test user for MyApp
  • Turn off platform for test user via app settings https://www.facebook.com/settings?tab=applications
  • Remove saved passwords for Facebook in Safari and any other Facebook auth data
  • Uninstall then re-install MyApp
  • Login in the Facebook Application with test user
  • Open MyApp and tap on the “Log in with Facebook” button
  • After redirect to Facebook app shown auth page with warning "Submit for Login Review, some of permissions below have not been approved for use by Facebook." and button "Continue as MyApp test username" (Screenshot 1)
  • Tap on the "Continue as MyApp test username" button

Expected Results:

  • Test users are able to bypass any restrictions of the app
  • After redirect to MyApp Access Token received, auth completed successfully.
  • I able to use Facebook API

Actual Results:

  • After redirect to MyApp Access Token not received
  • And text from the Log: (Screenshot 2)
Facebook. Unity.LoginResult 
LoginResult:
Error: An unknown error has occurred.
RawResult: "error":" An unknown error has
occurred." "callback_id": "2"}
Cancelled: False
LoginResult:
Access Token: null
Authentication Token: null
  • On page https://www.facebook.com/settings?tab=applications I can see that MyApp connected and exists in the list.

Code Samples & Details:

  • Default Facebook Example for Unity with my app settings.
  • Partial outage. MyApp has been restricted by Facebook.
  • On Android or in the Unity Editor it works correctly, no problems

Screenshot 1 2023-01-22 12 26 11

Screenshot 2 2023-01-22 12 26 23

rsolovjov avatar Jan 22 '23 10:01 rsolovjov