X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/f2ed1449ece59c6247b8befc9ca6f423f7e4b004..2e76a99938547ca608f9e109bbe3322571976495:/src/apiclient/settings.py?ds=sidebyside diff --git a/src/apiclient/settings.py b/src/apiclient/settings.py index 49037fe..f347229 100755 --- a/src/apiclient/settings.py +++ b/src/apiclient/settings.py @@ -12,3 +12,13 @@ WL_ACCESS_TOKEN_URL = getattr(settings, 'APICLIENT_WL_ACCESS_TOKEN_URL', WL_API_URL + 'oauth/access_token/') WL_AUTHORIZE_URL = getattr(settings, 'APICLIENT_WL_AUTHORIZE_URL', WL_API_URL + 'oauth/authorize/') + + +YOUTUBE_SCOPE = [ + 'https://www.googleapis.com/auth/youtube', +] +YOUTUBE_AUTH_URL = 'https://accounts.google.com/o/oauth2/auth' +YOUTUBE_TOKEN_URL = 'https://oauth2.googleapis.com/token' +YOUTUBE_CLIENT_ID = getattr(settings, 'YOUTUBE_CLIENT_ID', None) +YOUTUBE_CLIENT_SECRET = getattr(settings, 'YOUTUBE_CLIENT_SECRET', None) +