Facebook SSO wrong callback - /w proxy pass

Technical Support

Suggested Topics


  • 0 Votes
    4 Posts
    81 Views

    @julian thanks for your reply. I will try to apply your PR directly and see the result.

  • 0 Votes
    7 Posts
    1k Views

    @juan-g hey hey, thanks for the reply. I appreciate it. Guess I gotta take a wild guess at which tool to use and try my best. I knew about the load testing tools, was just hoping to get a hint as to what tool or configuration is used by the nodebb team.

    Nonetheless: Thank you for caring 🙂 I really do appreciate it.

  • 0 Votes
    1 Posts
    648 Views

    A while back I restored my database from a backup, and I have a feeling that backup may have been corrupt.

    when I try to visit the admin/manage/groups page, my nodebb instance crashes and reboots. I get the error Cannot read property 'indexOf' of undefined. After doing a little debugging I found that that the query for groups:createtime (line 152 in src/database/mongo/sorted.ja), is returning some objects that DONT have "groups:createtime" as their key ... these documents don't have the expected schema, which is what's throwing that undefined error.

    I've found, using the mongo console, when I use find('_key': 'groups:createtime') I only get the objects I expect, but find('_key': \groups:createtime\) returns the bad objects (note that the substring "groups:createtime" appears nowhere in _key string for those objects). More upsettingly, if I remove those bad objects by their ObjectId, they STILL return in that query ... despite the remove command returning without error, despite no longer being able to look the object up by it's ID.

    I'm not clear on whether this is a NodeBB issue at all, or entirely on the Mongo side, but in the meantime, I can't edit anything in regards to groups (including adding/removing members to existing groups), and attempts at upgrading my forum version fail at the database migration step.

  • 0 Votes
    3 Posts
    1k Views

    according to their scraped info they have the correct og:title but don't display it, might be because of the arabic(?) characters
    here is a debug of this site and it works fine https://developers.facebook.com/tools/debug/og/object/?q=https%3A%2F%2Fcommunity.nodebb.org

    edit: you might have to set opengraph locale with

    <meta property="og:locale" content="ar_AR" />

    you can just add this on your admin page under appearance > custom html & css > custom header

  • 0 Votes
    2 Posts
    3k Views

    My bad, this error was caused by extra / in config.json