2023-03-22 04:53:49 -07:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>n8n - OAuth Callback</title>
|
|
|
|
<style>
|
2023-08-16 08:13:57 -07:00
|
|
|
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;}
|
2023-03-22 04:53:49 -07:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{{#if error}}
|
2023-05-16 02:19:41 -07:00
|
|
|
<h4>Error: {{error.message}}</h4>
|
|
|
|
<details class='error'>
|
|
|
|
<summary>More details</summary>
|
2023-08-16 08:13:57 -07:00
|
|
|
{{#if error.reason}}<pre class='reason'>{{error.reason}}</pre>{{/if}}
|
|
|
|
</details>
|
2023-03-22 04:53:49 -07:00
|
|
|
{{/if}}
|
2023-05-16 02:19:41 -07:00
|
|
|
Failed to connect. The window can be closed now.
|
2023-03-22 04:53:49 -07:00
|
|
|
<script>
|
2024-06-17 04:41:49 -07:00
|
|
|
(function messageParent() {
|
|
|
|
const broadcastChannel = new BroadcastChannel('oauth-callback');
|
|
|
|
broadcastChannel.postMessage('error');
|
|
|
|
})();
|
2023-03-22 04:53:49 -07:00
|
|
|
</script>
|
|
|
|
</body>
|
2023-08-16 08:13:57 -07:00
|
|
|
</html>
|