Fakultas Ilmu Komputer UI

Commit 9483a7b4 authored by afifun's avatar afifun

Merge branch 'develop' into 'master'

update settings.py

See merge request !187
parents 4655072e eeed1799
Pipeline #1833 passed with stages
in 3 minutes and 31 seconds
......@@ -32,10 +32,9 @@ DEBUG = not PRODUCTION
ALLOWED_HOSTS = ['*']
CLIENT_ID = '2bfJDNTlHhR9TJO6kQ5OsINqeMpNqFrudWOC8Vg9'#os.environ.get('CLIENT_ID')
CLIENT_SECRET = 'hUgmknnh2hFiowr8KYMyJUSt5JR5qjzJZydCATRYTPpCyBnub4FmBO15OwFqC9qEILcKmfq2uVp305XBJiapMt23ZpUBJnBlfsoXJZx1A8XbPaS5DU8Z4pYTe0cQo1ZN'#os.environ.get('CLIENT_SECRET')
REDIRECT_URL = 'akuncs://myui-dev.cs.ui.ac.id/backend/token/' #os.environ.get('REDIRECTION_URL')
CLIENT_ID = os.environ.get('PRODUCTION_CLIENT_ID') if PRODUCTION else os.environ.get('STAGING_CLIENT_ID')
CLIENT_SECRET = os.environ.get('PRODUCTION_CLIENT_SECRET') if PRODUCTION else os.environ.get('STAGING_CLIENT_SECRET')
REDIRECT_URL = 'akuncs://myui.cs.ui.ac.id/backend/token/' if PRODUCTION else 'akuncs://myui-dev.cs.ui.ac.id/backend/token/' #os.environ.get('REDIRECTION_URL')
AUTHORIZATION_CODE_GRANT_TYPE = 'authorization_code'#os.environ.get('GRANT_TYPE')
OAUTH_ACCESS_TOKEN_URL = 'https://akun.cs.ui.ac.id/oauth/token/'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment