@@ -140,6 +140,7 @@ class SAMLWebSSOAuthSettings(AuthProviderSettings, LoggerMixin):
140140 "Leave empty to use environment configuration (PALACE_SAML_SP_METADATA or PALACE_SAML_SP_METADATA_FILE)."
141141 ),
142142 type = FormFieldType .TEXTAREA ,
143+ use_monospace_font = True ,
143144 ),
144145 ] = None
145146 service_provider_private_key : Annotated [
@@ -149,6 +150,7 @@ class SAMLWebSSOAuthSettings(AuthProviderSettings, LoggerMixin):
149150 description = "Private key used for encrypting SAML requests. "
150151 "Leave empty to use environment configuration (PALACE_SAML_SP_PRIVATE_KEY or PALACE_SAML_SP_PRIVATE_KEY_FILE)." ,
151152 type = FormFieldType .TEXTAREA ,
153+ use_monospace_font = True ,
152154 ),
153155 ] = None
154156 federated_identity_provider_entity_ids : Annotated [
@@ -216,6 +218,7 @@ class SAMLWebSSOAuthSettings(AuthProviderSettings, LoggerMixin):
216218 "The expression will extract the <b>patron_id</b> from the first SAML attribute that matches "
217219 "or NameID if it matches the expression."
218220 ),
221+ use_monospace_font = True ,
219222 ),
220223 ] = None
221224 non_federated_identity_provider_xml_metadata : Annotated [
@@ -229,6 +232,7 @@ class SAMLWebSSOAuthSettings(AuthProviderSettings, LoggerMixin):
229232 "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect."
230233 ),
231234 type = FormFieldType .TEXTAREA ,
235+ use_monospace_font = True ,
232236 ),
233237 ] = None
234238 session_lifetime : Annotated [
@@ -278,6 +282,7 @@ class SAMLWebSSOAuthSettings(AuthProviderSettings, LoggerMixin):
278282 "</pre>"
279283 ),
280284 type = FormFieldType .TEXTAREA ,
285+ use_monospace_font = True ,
281286 ),
282287 ] = None
283288 # Note: the key-ordering caveat in the description below is a JSONB storage
@@ -295,6 +300,7 @@ class SAMLWebSSOAuthSettings(AuthProviderSettings, LoggerMixin):
295300 ),
296301 type = FormFieldType .JSON ,
297302 patron_auth_filter_context = True ,
303+ use_monospace_font = True ,
298304 ),
299305 ] = None
300306 service_provider_strict_mode : Annotated [
@@ -484,6 +490,7 @@ class SAMLWebSSOAuthLibrarySettings(AuthProviderLibrarySettings):
484490 " syntax and examples."
485491 ),
486492 type = FormFieldType .TEXTAREA ,
493+ use_monospace_font = True ,
487494 ),
488495 ] = None
489496
0 commit comments