summaryrefslogtreecommitdiffstats
path: root/rp_meyzieu/mappers/portail_famille_ecities.py
diff options
context:
space:
mode:
Diffstat (limited to 'rp_meyzieu/mappers/portail_famille_ecities.py')
-rw-r--r--rp_meyzieu/mappers/portail_famille_ecities.py32
1 files changed, 12 insertions, 20 deletions
diff --git a/rp_meyzieu/mappers/portail_famille_ecities.py b/rp_meyzieu/mappers/portail_famille_ecities.py
index c642126..def750b 100644
--- a/rp_meyzieu/mappers/portail_famille_ecities.py
+++ b/rp_meyzieu/mappers/portail_famille_ecities.py
@@ -49,24 +49,20 @@ mapping = [
{
'path': r'/mandaye/login$',
'method': 'GET',
- 'response': [{
+ 'response': {
'auth': 'login',
'condition': 'response.code==302',
- },]
+ }
},
{
'path': r'/mandaye/sso$',
'method': 'GET',
- 'response': [{
- 'auth': 'sso',
- }]
+ 'response': {'auth': 'sso',}
},
{
'path': r'/mandaye/slo$',
'method': 'GET',
- 'response': [{
- 'auth': 'slo',
- }]
+ 'response': {'auth': 'slo',}
},
{
'path': (r'/ffaxsslMeyzieu/$', r'/ffaxsslMeyzieu/workflow_url$'),
@@ -114,34 +110,30 @@ mapping = [
{
'path': r'/ffaxsslMeyzieu/mandaye_associate$',
'method': 'POST',
- 'response': [
- {
- 'auth': 'associate_submit',
- 'condition': "response.code==302"
- },
- ]
+ 'response': {
+ 'auth': 'associate_submit',
+ 'condition': "response.code==302"
+ }
},
{
'path': r'%s$' % END_POINTS_PATH['single_sign_on_post'],
'method': 'POST',
- 'response': [{'auth': 'single_sign_on_post'}]
+ 'response': {'auth': 'single_sign_on_post'}
},
{
'path': r'%s$' % END_POINTS_PATH['single_logout'],
'method': 'GET',
- 'response': [{
- 'auth': 'single_logout',
- }]
+ 'response': {'auth': 'single_logout',}
},
{
'path': r'%s$' % END_POINTS_PATH['single_logout_return'],
'method': 'GET',
- 'response': [{
+ 'response': {
'auth': 'single_logout_return',
'values': {
'next_url': index_url
},
- }]
+ }
},
]