diff --git a/cam/mappers/archimed_saml.py b/cam/mappers/archimed_saml.py index 5d0723a..cf06ddd 100644 --- a/cam/mappers/archimed_saml.py +++ b/cam/mappers/archimed_saml.py @@ -51,7 +51,7 @@ mapping = [ 'on_response': [{'auth': 'store_credentials_in_session'}] }, { - 'path': r'/EXPLOITATION/DEFAULT', + 'path': r'/%s' % base, 'method': 'GET', 'on_response': [{ 'content-types': ['text/html'], @@ -73,6 +73,10 @@ mapping = [ 'method': 'GET', 'response': {'auth': 'sso',} }, + { + 'path': r'/%s/DEFAULT/Ermes/Recherche/logon.svc/logoff$' % base, + 'on_response': [{'auth': 'logout',}], + }, { 'path': r'%s$' % END_POINTS_PATH['single_sign_on_post'], 'method': 'POST',