This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
from django.shortcuts import redirect | |
from django.http import HttpResponse | |
''' | |
Check https://developers.google.com/identity/protocols/oauth2/web-server#httprest_2 for more information | |
on using OAuth2 for Authorization to access Google APIs. | |
''' |