oauth/settings/oauth_settings.py.tmpl
author durandn
Tue, 16 Feb 2016 15:46:00 +0100
changeset 2 d5c583f9a035
parent 1 5f50937893ac
child 5 4407b131a70e
permissions -rw-r--r--
fixed commited oauth settings + edited tmpls and readme
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     1
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     2
class OAuthSettings(object):
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     3
    
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     4
    # Redirect URIs for GED mock client
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     5
    CLIENT_REDIRECT_URIS = [
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     6
        'http://localhost:8000/authorized',
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     7
        'http://127.0.0.1:8000/authorized',
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     8
        'http://127.0.1:8000/authorized',
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     9
        'http://127.1:8000/authorized',
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
    10
    ]
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
    11
    # Redirect URIs for Renkan django app
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
    12
    RENKAN_REDIRECT_URIS = [
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
    13
        '<renkan-base-url>/accounts/mtdc/login/callback/',
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
    14
    ]