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

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.
@@ -298,6 +298,14 @@ async function vwLogin(context, email, password) {
298
298
  if (currentUrl.includes('/u/login') && stateToken) {
299
299
  break;
300
300
  }
301
+ // Check if this is an app scheme redirect (don't try to follow)
302
+ if (currentUrl.startsWith('vwconnect://') || currentUrl.startsWith('carnet://') || currentUrl.startsWith('weconnect://')) {
303
+ break;
304
+ }
305
+ // Skip non-http URLs
306
+ if (!currentUrl.startsWith('http') && !currentUrl.startsWith('/')) {
307
+ break;
308
+ }
301
309
  // Follow the redirect using API headers
302
310
  const followUrl = currentUrl.startsWith('http') ? currentUrl : `https://identity.vwgroup.io${currentUrl}`;
303
311
  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.11",
3
+ "version": "0.2.12",
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",