Making an authentication system with google sign-in is a relatively simpler task to do. It can be easily done using Firebase authentication. But the problem comes when we need to access Google APIs of our users such as Google Calendar, Gmail, Drive etc. The main problem is getting the user tokens and storing them. So, that our application can access the Google APIs of the user once they’ve granted the access and not asking them to authenticate again and again.
So, here’s a libarary that makes doing this task in Django easier. This library retrieves the necessary tokens you need to access the Google APIs your application is configured for.
You can know more about the usage of this libarary in it’s github repository.