n8n-nodes-jygse-vw-weconnect 0.2.10 → 0.2.11

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.
@@ -574,13 +574,15 @@ async function vwLogin(context, email, password) {
574
574
  extractTokens(redirectUrl);
575
575
  }
576
576
  while (maxRedirects > 0 && redirectUrl && !authCode) {
577
- // Check if this is the final redirect to carnet:// scheme
578
- if (redirectUrl.startsWith('carnet://') || redirectUrl.startsWith('weconnect://')) {
577
+ // Check if this is the final redirect to app scheme (carnet://, weconnect://, vwconnect://)
578
+ if (redirectUrl.startsWith('carnet://') || redirectUrl.startsWith('weconnect://') || redirectUrl.startsWith('vwconnect://')) {
579
579
  extractTokens(redirectUrl);
580
580
  break;
581
581
  }
582
- // Skip non-http redirects
582
+ // Skip non-http redirects (other app schemes)
583
583
  if (!redirectUrl.startsWith('http') && !redirectUrl.startsWith('/')) {
584
+ // Try to extract tokens from unknown scheme redirect
585
+ extractTokens(redirectUrl);
584
586
  break;
585
587
  }
586
588
  const followResponse = await context.helpers.httpRequest({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-jygse-vw-weconnect",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "n8n community node for VW We Connect - Control your Volkswagen T6.1 and other VW vehicles",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",