Project-Stage-Academy / UA1244_beta

1 stars 0 forks source link

Added Frontend-Add-OAuth-Login-Buttons #116

Closed Chelakhovl closed 3 weeks ago

Chelakhovl commented 3 weeks ago

Django Backend Configurations:

OAuth Settings Update: Added the necessary django-allauth middleware and templates to settings.py. Configured OAuth callback URLs for Google in the settings. Ensured that allauth is correctly set up to handle social authentication. Frontend Integration:

Social Login Button: Created a "Login with Google" button on the frontend login page. Implemented the logic to redirect users to Google for authentication. Handled the OAuth callback to process user authentication and manage user sessions effectively. Deliverables Finalized OAuth configurations in the Django settings.py. Integrated the "Login with Google" button and redirect logic in the frontend login page. 10 11 12