Issues with Facebook SSO



  • Hi All,

    I'm missing something in order to get FB SSO working. Whenever I attempt to register via FB from our NodeBB site I can see the redirect uri being passed in the URL says "localhost". Anyhow, don't know if that's the source of the trouble but when I attempt to login I get:

    "Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."

    However I have in fact specified the url in both the website, canvas and app domains. Obviously I'm missing something given that I just logged in with facebook on this site. :)

    Any pointers appreciated.


  • Admin

    Can you post your nodebb config.json?



  • Hello,

    I just try to strrt a new forum with nodebb and i get the same issue.
    In fact, i get these url error on sign in with facebook:

    https://www.facebook.com/dialog/oauth?response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A4567%2Fauth%2Ffacebook%2Fcallback&scope=email%2C%20user_friends&client_id=xxx
    

    My config.json is:

    {
        "url": "https://le.club.systemes.sonores.rocks",
        "secret": "zzz",
        "database": "mongo",
        "port": 4567,
        "mongo": {
            "host": "127.0.0.1",
            "port": "27017",
            "username": "xxx",
            "database": "yyy"
        }
    }
    

    I am still investigning.
    jb



  • @j.b.-o. A fellow user submitted a problem with this plug in via github about a week ago. It is not working for him any longer. I considered loading this plug in as well but am holding off until his issue entry is closed.

    https://github.com/julianlam/nodebb-plugin-sso-facebook/issues/33


  • Admin

    @rod, couldn't reproduce that issue 😦


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.