oauth/settings/oauth_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 OAuthSettings(object):
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     3
    
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     4
    CLIENT_REDIRECT_URIS = [
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     5
        'http://localhost:8000/authorized',
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     6
        'http://127.0.0.1:8000/authorized',
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     7
        'http://127.0.1:8000/authorized',
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     8
        'http://127.1:8000/authorized',
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     9
    ]
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    10
    RENKAN_REDIRECT_URIS = [
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    11
        'http://127.0.0.1:8001/accounts/mtdc/login/callback/',
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    12
        'http://127.0.0.1:8001/accounts/mtdc/login/callback/',
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    13
        'http://127.0.1:8001/accounts/mtdc/login/callback/',
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    14
        'http://127.1:8001/accounts/mtdc/login/callback/',
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    15
    ]