@drawbridge/drawbridge-utils 0.0.109 → 0.0.110

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.
@@ -342,7 +342,17 @@ var klaviyo_default2 = {
342
342
  // Google product wants it.
343
343
  auth: {
344
344
  oauth: {
345
- authorize: "https://a.klaviyo.com/oauth/authorize",
345
+ // TWO DIFFERENT HOSTS, and swapping them fails in opposite directions.
346
+ //
347
+ // authorize is a page a HUMAN loads, and it lives on www. Pointing it at
348
+ // a.klaviyo.com -- their API host -- sends the merchant somewhere that
349
+ // never renders a consent screen, so the journey stalls with no error
350
+ // anybody can see.
351
+ //
352
+ // token is a server call and must stay on a.klaviyo.com: Klaviyo began
353
+ // blocking OAuth token traffic through www on 2025-03-31, so the mirror
354
+ // image of this mistake breaks the exchange instead of the consent.
355
+ authorize: "https://www.klaviyo.com/oauth/authorize",
346
356
  // NAMES the env vars holding OUR application's client. One identity,
347
357
  // every merchant — the token is the merchant's and arrives from their
348
358
  // own consent, which is what stops one organization reading another's
@@ -361,7 +361,17 @@ var klaviyo = {
361
361
  // Google product wants it.
362
362
  auth : {
363
363
  oauth : {
364
- authorize : 'https://a.klaviyo.com/oauth/authorize',
364
+ // TWO DIFFERENT HOSTS, and swapping them fails in opposite directions.
365
+ //
366
+ // authorize is a page a HUMAN loads, and it lives on www. Pointing it at
367
+ // a.klaviyo.com -- their API host -- sends the merchant somewhere that
368
+ // never renders a consent screen, so the journey stalls with no error
369
+ // anybody can see.
370
+ //
371
+ // token is a server call and must stay on a.klaviyo.com: Klaviyo began
372
+ // blocking OAuth token traffic through www on 2025-03-31, so the mirror
373
+ // image of this mistake breaks the exchange instead of the consent.
374
+ authorize : 'https://www.klaviyo.com/oauth/authorize',
365
375
  // NAMES the env vars holding OUR application's client. One identity,
366
376
  // every merchant — the token is the merchant's and arrives from their
367
377
  // own consent, which is what stops one organization reading another's
@@ -361,7 +361,17 @@ var klaviyo = {
361
361
  // Google product wants it.
362
362
  auth : {
363
363
  oauth : {
364
- authorize : 'https://a.klaviyo.com/oauth/authorize',
364
+ // TWO DIFFERENT HOSTS, and swapping them fails in opposite directions.
365
+ //
366
+ // authorize is a page a HUMAN loads, and it lives on www. Pointing it at
367
+ // a.klaviyo.com -- their API host -- sends the merchant somewhere that
368
+ // never renders a consent screen, so the journey stalls with no error
369
+ // anybody can see.
370
+ //
371
+ // token is a server call and must stay on a.klaviyo.com: Klaviyo began
372
+ // blocking OAuth token traffic through www on 2025-03-31, so the mirror
373
+ // image of this mistake breaks the exchange instead of the consent.
374
+ authorize : 'https://www.klaviyo.com/oauth/authorize',
365
375
  // NAMES the env vars holding OUR application's client. One identity,
366
376
  // every merchant — the token is the merchant's and arrives from their
367
377
  // own consent, which is what stops one organization reading another's
@@ -289,7 +289,17 @@ var klaviyo_default2 = {
289
289
  // Google product wants it.
290
290
  auth: {
291
291
  oauth: {
292
- authorize: "https://a.klaviyo.com/oauth/authorize",
292
+ // TWO DIFFERENT HOSTS, and swapping them fails in opposite directions.
293
+ //
294
+ // authorize is a page a HUMAN loads, and it lives on www. Pointing it at
295
+ // a.klaviyo.com -- their API host -- sends the merchant somewhere that
296
+ // never renders a consent screen, so the journey stalls with no error
297
+ // anybody can see.
298
+ //
299
+ // token is a server call and must stay on a.klaviyo.com: Klaviyo began
300
+ // blocking OAuth token traffic through www on 2025-03-31, so the mirror
301
+ // image of this mistake breaks the exchange instead of the consent.
302
+ authorize: "https://www.klaviyo.com/oauth/authorize",
293
303
  // NAMES the env vars holding OUR application's client. One identity,
294
304
  // every merchant — the token is the merchant's and arrives from their
295
305
  // own consent, which is what stops one organization reading another's
package/package.json CHANGED
@@ -200,5 +200,5 @@
200
200
  "test": ". \"$HOME/.nvm/nvm.sh\" && nvm use && node --test"
201
201
  },
202
202
  "types": "dist/index.d.ts",
203
- "version": "0.0.109"
203
+ "version": "0.0.110"
204
204
  }