Projet

Général

Profil

0001-WIP-saml2_endpoints-catch-ProviderMissingPublicKeyEr.patch

Paul Marillonnet, 04 avril 2018 10:15

Télécharger (1,04 ko)

Voir les différences:

Subject: [PATCH] WIP saml2_endpoints: catch ProviderMissingPublicKeyError
 (#22881)

 src/authentic2/idp/saml/saml2_endpoints.py | 5 +++++
 1 file changed, 5 insertions(+)
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
-