File size: 464 Bytes
e2bcf9c
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from dotenv import load_dotenv
import os
load_dotenv()

TOKEN_GENERATION_API="https://oauth2.googleapis.com/token"
USER_INFO_API = "https://www.googleapis.com/oauth2/v1/userinfo"
REFRESH_TOKEN_PAYLOAD={
        
        "client_id": os.getenv("GOOGLE_CLIENT_ID"),
        "client_secret": os.getenv("GOOGLE_CLIENT_SECRET"),
        "redirect_uri": os.getenv("GOOGLE_REDIRECT_URI"),
        "grant_type": "authorization_code",
        "access_type": "offline"
    }