• Members 2 posts
    Sept. 25, 2020, 4:19 a.m.

    I have implemented Social Login for Facebook and Google.
    I have set a setting for register users with email validation.
    I have set a privacy policy.

    as the Facebook redirect URL is /complete/facebook/ while doing social sign-in from Facebook it lands in /complete/facebook page and only the username is being auto-populated
    not the email which makes it required to activate the email (Tried with different accounts).
    But not in the case of google login in as it lands on a similar page and emails seems to be verified and I had to click accept the privacy policy and it works.

  • Sept. 26, 2020, 12:54 a.m.

    I don't see anything obviously wrong with the integration on our part. Maybe Facebook updated their API again and our integration is no longer requesting an e-mail in supported way?

    I'll try to release new Misago over the weekend to see if that resolves the issue.

  • Members 2 posts
    Sept. 30, 2020, 6:16 p.m.


    Changing form USER_DATA_URL = 'graph.facebook.com/v{version}/me' to USER_DATA_URL = 'graph.facebook.com/v{version}/me?fields=name,email'
    of FacebookOAuth2 solved the issue but it is inside in facebook.py of the social core package.