mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
7ce5d8fd90
Supersedes https://github.com/n8n-io/n8n/pull/6937 Excluding fixtures and test workflow JSONs to avoid having to update tests.
23 lines
743 B
Handlebars
23 lines
743 B
Handlebars
<html>
|
|
<head>
|
|
<title>n8n - OAuth Callback</title>
|
|
<style>
|
|
body { font-family: 'Open Sans', sans-serif; padding: 10px;} details.error { margin-bottom:
|
|
20px; } pre.reason { background: #f7f7f7; border: 1px solid #ddd; border-radius: 3px; padding:
|
|
10px; overflow: auto; overflow-wrap: break-word; white-space: pre-wrap;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
{{#if error}}
|
|
<h4>Error: {{error.message}}</h4>
|
|
<details class='error'>
|
|
<summary>More details</summary>
|
|
{{#if error.reason}}<pre class='reason'>{{error.reason}}</pre>{{/if}}
|
|
</details>
|
|
{{/if}}
|
|
Failed to connect. The window can be closed now.
|
|
<script>
|
|
(function messageParent() { window.opener?.postMessage('error', '*'); })();
|
|
</script>
|
|
</body>
|
|
</html> |