Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Solved] UnityIAP FB: User cancelled login error (unable to initialize IAP)

Discussion in 'Unity IAP' started by Bazz_boyy, Nov 23, 2017.

Thread Status:
Not open for further replies.
  1. Bazz_boyy

    Bazz_boyy

    Joined:
    May 22, 2013
    Posts:
    192
    EDIT: Solved ~ not sure how to delete post

    Hi there,

    I've been trying to get my IAP's working in the facebook gamesroom all day with no luck. I read that Unity IAP, as of 5.6, is capable of working with the facebook sdk and I can see that it's trying to.

    The problem is however, is that whenever I try to initialize Unity IAP, it attempts to log into facebook and just fails. A dialogue previously came up with the error:

    Facebook login message: “URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings.”

    However, since I changed some of the Facebook Login Product settings on the FB Dev console, the dialogue no longer appears, but the same 'User cancelled login' action is occurring.

    I assume that there's something wrong with my Client OAuth settings (I have no idea what this even is tbh).

    Here is a link to my Facebook Login Product info: https://imgur.com/W172JHc

    I hope someone can help!

    Cheers
     
    Last edited: Nov 23, 2017
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Glad you solved it. Generally you do not want to delete posts, but rather just post the solution to your problem so others may learn from it.
     
Thread Status:
Not open for further replies.