0001-WIP-saml2_endpoints-catch-ProviderMissingPublicKeyEr.patch
src/authentic2/idp/saml/saml2_endpoints.py | ||
---|---|---|
945 | 945 |
else: |
946 | 946 |
logger.info('reloading artifact') |
947 | 947 |
reload_artifact(login) |
948 |
except ProviderMissingPublicKeyError: |
|
949 |
logger.error('missing public key error') |
|
950 |
return error_redirect(request, |
|
951 |
N_("Your service provider can't resolve the SAML artifact " |
|
952 |
"since it has no known public key.")) |
|
948 | 953 |
except: |
949 | 954 |
logger.exception('resolve error') |
950 | 955 |
try: |
951 |
- |