Registration for non-Facebook Users

I’m more of a hacker than a coder, and I’m reluctant to post my changes publicly to github - but if I can get my discourse-facebook-autoapprove plugin to work in a local git repo, I’ll be happy to share as a jumping-off point.

I was (with the help of Claude) able to develop a single file ruby plugin that works. Once the user authorizes the share of information in Facebook - when prompted by the Discourse login to Facebook - the Discourse account is created and the user is automatically logged in. Non-Facebook users remain subject to the Must approve users setting.

Because I developed it with a local git repo, it required some changes to app.yml to reference git. I don’t want to breach etiquette, so I won’t share the details here - but will with anyone who would like to take the ball and run with it.

Thanks
Dan