| author | durandn |
| Wed, 05 Oct 2016 14:24:32 +0200 | |
| changeset 124 | 983e72b4bc45 |
| parent 5 | 4407b131a70e |
| permissions | -rw-r--r-- |
|
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 |
|
|
5
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
4 |
# MOCK GED CONFIG |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
5 |
MOCK_GED_REDIRECT_URIS = [ |
|
2
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 |
] |
|
5
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
11 |
MOCK_GED_CLIENT_ID = '' |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
12 |
MOCK_GED_CLIENT_SECRET = '' |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
13 |
MOCK_GED_SERVER_USER = 'mock_ged_server' |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
14 |
|
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
15 |
# RENKAN CONFIG |
|
2
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
16 |
RENKAN_REDIRECT_URIS = [ |
|
5
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
17 |
'http://127.0.0.1:8001/accounts/mtdc/login/callback/', |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
18 |
'http://127.0.0.1:8001/accounts/mtdc/login/callback/', |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
19 |
'http://127.0.1:8001/accounts/mtdc/login/callback/', |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
20 |
'http://127.1:8001/accounts/mtdc/login/callback/', |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
21 |
] |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
22 |
RENKAN_CLIENT_ID = '' |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
23 |
RENKAN_CLIENT_SECRET = '' |
|
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
2
diff
changeset
|
24 |
RENKAN_SERVER_USER = 'renkan_server' |