Here is the python code for server side login flow, but to proceed you will need to create a project on google developer console
- Redirect User to URL with view function google_openid_trigger , you can simply create an anchor tag in html with url pointing to above view function, and rest of the process will be handled by backend code.
- Set URL with view function google_auth_redirect as authorized redirect url in project created in google developer console. Here you may want to change user authentication, according to your application need.
Please feel free to discuss,
here is the django-python code. you will not need to import any third party social sign in module.