Add YoutubeCredentials model and implement YouTube OAuth login functionality

This commit is contained in:
Edgar P. Burkhart 2025-06-13 22:23:18 +02:00
parent f7baa91132
commit 4b2f695afb
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
9 changed files with 315 additions and 1 deletions

View file

@ -27,6 +27,7 @@ SECRET_KEY = "django-insecure-&z*xu$^w8btr(%1!y#+0a98)l_q*+*6z54611pi678mdpsar_=
DEBUG = True
ALLOWED_HOSTS = []
CSRF_TRUSTED_ORIGINS = ["https://localhost"]
# Application definition
@ -128,3 +129,4 @@ LOGOUT_REDIRECT_URL = "/"
LOGIN_REDIRECT_URL = "/"
YOUTUBE_API_KEY = os.getenv("YOUTUBE_API_KEY", "")
YOUTUBE_OAUTH_SECRETS = os.getenv("YOUTUBE_OAUTH_SECRETS", "")