File size: 616 Bytes
1256bd3
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import os

# In a real environment, you would secure these properly.
GOOGLE_CLIENT_ID = os.environ.get("GOOGLE_CLIENT_ID", "50786072753-s9nq1ma3nv44k382b5mcnvmeggt1cvha.apps.googleusercontent.com")
GOOGLE_CLIENT_SECRET = os.environ.get("GOOGLE_CLIENT_SECRET", "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")
GOOGLE_REDIRECT_URI = os.environ.get("GOOGLE_REDIRECT_URI", "http://localhost:8000/auth/callback")

# For YouTube Data API. The user must consent to at least read their channel info and videos.
YOUTUBE_SCOPES = ["https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtube.force-ssl"]