SAML Connection Test failed
-
${message ?? 'A common issue could be that no email attribute is set'}
+
{{message}}
- ${
- attributes
- ? `
-
Here are the attributes returned by your SAML IdP:
-
- - Email: ${attributes?.email ?? '(n/a)'}
- - First Name: ${attributes?.firstName ?? '(n/a)'}
- - Last Name: ${attributes?.lastName ?? '(n/a)'}
- - UPN: ${attributes?.userPrincipalName ?? '(n/a)'}
-
`
- : ''
- }
+ {{#with attributes}}
+
Here are the attributes returned by your SAML IdP:
+
+ - Email: {{email}}
+ - First Name: {{firstName}}
+ - Last Name: {{lastName}}
+ - UPN: {{userPrincipalName}}
+ {{/with}}
+