Open Surfskills opened 2 months ago
This pull request adds support for Google social authentication to our application. The following changes have been made:
Installed Required Packages:
google-auth
google-auth-oauthlib
Configured Google Client ID:
GOOGLE_CLIENT_ID
settings.py
Created Google Authentication Utility:
validate_google_token
google.auth.transport.requests
google.oauth2.id_token
Updated User Model and Manager:
auth_provider
Added Google Social Auth View:
GoogleSocialAuthView
google_auth
Updated URLs:
urls.py
Debugging and Error Handling:
@Surfskills can we get this resolved quickly ??
@bright2kwame resolved
Title: Implement Google Social Authentication
Description:
This pull request adds support for Google social authentication to our application. The following changes have been made:
Installed Required Packages:
google-auth
andgoogle-auth-oauthlib
to the project dependencies.Configured Google Client ID:
GOOGLE_CLIENT_ID
to store the Google OAuth client ID.GOOGLE_CLIENT_ID
insettings.py
.Created Google Authentication Utility:
validate_google_token
to validate Google OAuth tokens usinggoogle.auth.transport.requests
andgoogle.oauth2.id_token
.Updated User Model and Manager:
auth_provider
field has a default value for new users.Added Google Social Auth View:
GoogleSocialAuthView
in thegoogle_auth
app to handle the authentication process.Updated URLs:
urls.py
.Debugging and Error Handling:
Testing: