oauth/settings/client_settings.py
author durandn
Tue, 16 Feb 2016 15:43:00 +0100
changeset 1 5f50937893ac
permissions -rw-r--r--
Commit work on metaeducation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     1
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     2
class ClientSettings(object):
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     3
    
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     4
    CLIENT_ID = 'UxJQTxKRWXME4BORSAicA364ux5hRk3xaARR6Ft9'
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     5
    CLIENT_SECRET = 'D1bWhjNrWWygfBIQ6C8yXfUmagXlQplVd4cVAF8y5CQDc3IQkE'
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     6
    
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     7
    # Oauth server config
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     8
    BASE_URL = 'http://127.0.0.1:5000/api/'
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     9
    REQUEST_TOKEN_URL = None
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    10
    ACCESS_TOKEN_URL = 'http://127.0.0.1:5000/oauth/token'
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    11
    AUTHORIZE_URL = 'http://127.0.0.1:5000/oauth/authorize'
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    12
    REQUEST_TOKEN_PARAMS = {'scope': 'email'}
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    13
    
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    14
    # Renkan config
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    15
    CREATE_RENKAN_URL = 'http://127.0.0.1:8001'