TheFastOrg / Backend

Apache License 2.0
0 stars 0 forks source link

Fix OAuth authentication using drf_social_oauth2 #10

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR fixes the OAuth authentication issue in the Django project. Users were unable to properly authenticate and login using OAuth providers like Facebook and Google. The issue was caused by incorrect OAuth credentials, misconfigured drf_social_oauth2 middleware, and missing CSRF settings.

Summary of Changes

Please review and merge this PR to fix the OAuth authentication issue.

Fixes #6.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/fix-oauth-authentication_1

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.