Commit 7bc3c8ef authored by Clément OUDOT's avatar Clément OUDOT

Fix save of authn context in configuration (#184)

parent 85650ae3
......@@ -2380,13 +2380,21 @@ m{^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
browserIdBackgroundColor => $testNotDefined,
# OIDC Service
oidcServiceMetaDataAuthorizeURI => $testNotDefined,
oidcServiceMetaDataIssuer => $testNotDefined,
oidcServiceMetaDataTokenURI => $testNotDefined,
oidcServiceMetaDataUserInfoURI => $testNotDefined,
oidcServiceMetaDataJWKSURI => $testNotDefined,
oidcServicePrivateKeySig => $testNotDefined,
oidcServicePublicKeySig => $testNotDefined,
oidcServiceMetaDataAuthorizeURI => $testNotDefined,
oidcServiceMetaDataIssuer => $testNotDefined,
oidcServiceMetaDataTokenURI => $testNotDefined,
oidcServiceMetaDataUserInfoURI => $testNotDefined,
oidcServiceMetaDataJWKSURI => $testNotDefined,
oidcServiceMetaDataRegistrationURI => $testNotDefined,
oidcServiceMetaDataEndSessionURI => $testNotDefined,
oidcServicePrivateKeySig => $testNotDefined,
oidcServicePublicKeySig => $testNotDefined,
oidcServiceMetaDataAuthnContext => {
keyTest => qr/^\w([\w\-]*\w)?$/,
keyMsgFail => 'Bad authn context name',
test => qr/^\d+$/,
msgFail => 'Bad authn context level',
},
# OIDC OP
oidcOPMetaDataExportedVars => {
......
......@@ -307,6 +307,7 @@ sub en {
oidcRPMetaDataOptionsUserIDAttr => 'User ID attribute',
oidcRPStateTimeout => 'State session timeout',
oidcServiceMetaData => 'OpenID Connect Service',
oidcServiceMetaDataAuthnContext => 'Authentication context',
oidcServiceMetaDataAuthorizeURI => 'Autorization',
oidcServiceMetaDataEndPoints => 'End points',
oidcServiceMetaDataEndSessionURI => 'End session',
......@@ -880,6 +881,7 @@ sub fr {
oidcRPMetaDataOptionsUserIDAttr => "Attribut de l'identifiant",
oidcRPStateTimeout => 'Durée d\'une session state',
oidcServiceMetaData => "Service OpenID Connect",
oidcServiceMetaDataAuthnContext => "Contextes d'authentifiation",
oidcServiceMetaDataAuthorizeURI => "Autorisation",
oidcServiceMetaDataEndPoints => "Points d'accès",
oidcServiceMetaDataEndSessionURI => 'Fin de session',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment