UNPKG

n8n

Version:

n8n Workflow Automation Tool

36 lines 1.83 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getSamlConnectionTestSuccessView = getSamlConnectionTestSuccessView; function getSamlConnectionTestSuccessView(attributes) { var _a, _b, _c, _d; return ` <http> <head> <title>n8n - SAML Connection Test Result</title> <style> body { background: rgb(251,252,254); font-family: 'Open Sans', sans-serif; padding: 10px; margin: auto; width: 500px; top: 40%; position: relative; } h1 { color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; margin: 0 0 10px 0; } h2 { color: rgb(0, 0, 0); font-size: 12px; font-weight: 400; margin: 0 0 10px 0; } button { border: 1px solid rgb(219, 223, 231); background: rgb(255, 255, 255); border-radius: 4px; padding: 10px; } ul { border: 1px solid rgb(219, 223, 231); border-radius: 4px; padding: 10px; } li { decoration: none; list-style: none; margin: 0 0 0px 0; color: rgb(125, 125, 125); font-size: 12px;} </style> </head> <body> <div style="text-align:center"> <h1>SAML Connection Test was successful</h1> <button onclick="window.close()">You can close this window now</button> <p></p> <h2>Here are the attributes returned by your SAML IdP:</h2> <ul> <li><strong>Email:</strong> ${(_a = attributes.email) !== null && _a !== void 0 ? _a : '(n/a)'}</li> <li><strong>First Name:</strong> ${(_b = attributes.firstName) !== null && _b !== void 0 ? _b : '(n/a)'}</li> <li><strong>Last Name:</strong> ${(_c = attributes.lastName) !== null && _c !== void 0 ? _c : '(n/a)'}</li> <li><strong>UPN:</strong> ${(_d = attributes.userPrincipalName) !== null && _d !== void 0 ? _d : '(n/a)'}</li> </ul> </div> </body> </http> `; } //# sourceMappingURL=samlConnectionTestSuccess.js.map