thecourseforum / theCourseForum2

2020 Django rewrite of theCourseForum website
https://thecourseforum.com
GNU General Public License v3.0
31 stars 4 forks source link

ddos: Fix Login #676

Open barrett-ruth opened 9 months ago

barrett-ruth commented 9 months ago

Login Broken and we are getting spammed

After login fixed, validate email in bug submission (must end in virginia.edu)

Caesarsyning commented 9 months ago

The logs from Google cloud shows " packages/social_core/backends/legacy.py", line 21, in auth_complete raise AuthMissingParameter(self, self.ID_KEY) social_core.exceptions.AuthMissingParameter: Missing needed parameter email".

This is likely caused by 'social_core.pipeline.social_auth.associate_by_email' inside SOCIAL_AUTH_PIPELINE in the base.py. The authentication provider did not return an email which could possibly be the school email restriction of Microsoft

ajnye commented 8 months ago

https://github.com/thecourseforum/theCourseForum2/pull/675