n8n 2.22.1 → 2.22.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,12 +2,16 @@
2
2
  <head>
3
3
  <title>n8n - SAML Connection Test Result</title>
4
4
  <style>
5
- body { background: rgb(251,252,254); font-family: 'Open Sans', sans-serif; padding: 10px; margin: auto; width: 500px; top: 40%; position: relative; }
5
+ body { background: rgb(251,252,254); font-family: 'Open Sans', sans-serif; padding: 10px; margin: auto; max-width: 700px; }
6
6
  h1 { color: rgb(240, 60, 60); font-size: 16px; font-weight: 400; margin: 0 0 10px 0; }
7
7
  h2 { color: rgb(0, 0, 0); font-size: 12px; font-weight: 400; margin: 0 0 10px 0; }
8
- button { border: 1px solid rgb(219, 223, 231); background: rgb(255, 255, 255); border-radius: 4px; padding: 10px; }
8
+ button { border: 1px solid rgb(219, 223, 231); background: rgb(255, 255, 255); border-radius: 4px; padding: 10px; cursor: pointer; font: inherit; }
9
9
  ul { border: 1px solid rgb(219, 223, 231); border-radius: 4px; padding: 10px; }
10
10
  li { decoration: none; list-style: none; margin: 0 0 0px 0; color: rgb(125, 125, 125); font-size: 12px;}
11
+ details { margin-top: 24px; text-align: left; border: 1px solid rgb(219, 223, 231); border-radius: 4px; padding: 8px 12px; }
12
+ summary { cursor: pointer; font-size: 12px; color: rgb(70, 70, 70); padding: 4px 0; }
13
+ .claims-warning { color: rgb(125, 125, 125); font-size: 11px; margin: 6px 0 12px 0; }
14
+ pre.saml-raw-attributes { background: white; border: 1px solid rgb(219, 223, 231); border-radius: 4px; padding: 10px; margin: 0; max-height: 320px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; white-space: pre; }
11
15
  </style>
12
16
  </head>
13
17
  <body>
@@ -23,8 +27,15 @@
23
27
  <li><strong>First Name:</strong> {{#if firstName}}{{firstName}}{{else}}(n/a){{/if}}</li>
24
28
  <li><strong>Last Name:</strong> {{#if lastName}}{{lastName}}{{else}}(n/a){{/if}}</li>
25
29
  <li><strong>UPN:</strong> {{#if userPrincipalName}}{{userPrincipalName}}{{else}}(n/a){{/if}}</li>
26
- {{/with}}
27
30
  </ul>
31
+ {{/with}}
32
+ {{#if rawAttributesJson}}
33
+ <details>
34
+ <summary>Show full raw SAML attributes (for debugging role mapping)</summary>
35
+ <p class="claims-warning">Contains identity data from your IdP. Avoid sharing publicly.</p>
36
+ <pre class="saml-raw-attributes">{{rawAttributesJson}}</pre>
37
+ </details>
38
+ {{/if}}
28
39
  </div>
29
40
  </body>
30
41
  </html>
@@ -2,12 +2,16 @@
2
2
  <head>
3
3
  <title>n8n - SAML Connection Test Result</title>
4
4
  <style>
5
- body { background: rgb(251,252,254); font-family: 'Open Sans', sans-serif; padding: 10px; margin: auto; width: 500px; top: 40%; position: relative; }
5
+ body { background: rgb(251,252,254); font-family: 'Open Sans', sans-serif; padding: 10px; margin: auto; max-width: 700px; }
6
6
  h1 { color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; margin: 0 0 10px 0; }
7
7
  h2 { color: rgb(0, 0, 0); font-size: 12px; font-weight: 400; margin: 0 0 10px 0; }
8
- button { border: 1px solid rgb(219, 223, 231); background: rgb(255, 255, 255); border-radius: 4px; padding: 10px; }
8
+ button { border: 1px solid rgb(219, 223, 231); background: rgb(255, 255, 255); border-radius: 4px; padding: 10px; cursor: pointer; font: inherit; }
9
9
  ul { border: 1px solid rgb(219, 223, 231); border-radius: 4px; padding: 10px; }
10
10
  li { decoration: none; list-style: none; margin: 0 0 0px 0; color: rgb(125, 125, 125); font-size: 12px;}
11
+ details { margin-top: 24px; text-align: left; border: 1px solid rgb(219, 223, 231); border-radius: 4px; padding: 8px 12px; }
12
+ summary { cursor: pointer; font-size: 12px; color: rgb(70, 70, 70); padding: 4px 0; }
13
+ .claims-warning { color: rgb(125, 125, 125); font-size: 11px; margin: 6px 0 12px 0; }
14
+ pre.saml-raw-attributes { background: white; border: 1px solid rgb(219, 223, 231); border-radius: 4px; padding: 10px; margin: 0; max-height: 320px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; white-space: pre; }
11
15
  </style>
12
16
  </head>
13
17
  <body>
@@ -22,6 +26,13 @@
22
26
  <li><strong>Last Name:</strong> {{#if lastName}}{{lastName}}{{else}}(n/a){{/if}}</li>
23
27
  <li><strong>UPN:</strong> {{#if userPrincipalName}}{{userPrincipalName}}{{else}}(n/a){{/if}}</li>
24
28
  </ul>
29
+ {{#if rawAttributesJson}}
30
+ <details>
31
+ <summary>Show full raw SAML attributes (for debugging role mapping)</summary>
32
+ <p class="claims-warning">Contains identity data from your IdP. Avoid sharing publicly.</p>
33
+ <pre class="saml-raw-attributes">{{rawAttributesJson}}</pre>
34
+ </details>
35
+ {{/if}}
25
36
  </div>
26
37
  </body>
27
38
  </html>