Add YoutubeCredentials model and implement YouTube OAuth login functionality
This commit is contained in:
parent
f7baa91132
commit
4b2f695afb
9 changed files with 315 additions and 1 deletions
|
@ -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", "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue