chore(API): Add styling to credential callback and autoclose window (#12648)

This commit is contained in:
Dana
2025-01-21 15:21:42 +01:00
committed by GitHub
parent 223ad7d71a
commit fb4cb5afbb
5 changed files with 91 additions and 12 deletions

View File

@@ -149,7 +149,7 @@ export class OAuth2CredentialController extends AbstractOAuthController {
credentialId: credential.id,
});
return res.render('oauth-callback');
return res.render('oauth-callback', { imagePath: 'n8n-logo.png' });
} catch (error) {
return this.renderCallbackError(
res,