Commit dce19b2
revert: undo widget service URL change — CAS tickets are not portable
Testing confirmed the embed SSO only issues tickets scoped to sso_embed.
Changing service= to _ios_service_url causes the DI exchange to reject
the ticket with "invalid service ticket provided", and the JWT_WEB
fallback then tries to hit mobile.integration.garmin.com which is not
DNS-resolvable from desktop environments.
The ticket regex improvement (\?ticket= instead of embed\?ticket=)
is kept as it is strictly more flexible.
The root cause of issue #369 ("Token is not active") is server-side:
Garmin's API tier rejecting tokens issued via the sso/embed path.
No client-side fix is possible for the widget strategy.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3299db8 commit dce19b2
1 file changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | 459 | | |
463 | 460 | | |
464 | 461 | | |
465 | | - | |
| 462 | + | |
466 | 463 | | |
467 | 464 | | |
468 | 465 | | |
| |||
566 | 563 | | |
567 | 564 | | |
568 | 565 | | |
569 | | - | |
570 | | - | |
571 | | - | |
| 566 | + | |
572 | 567 | | |
573 | 568 | | |
574 | 569 | | |
| |||
610 | 605 | | |
611 | 606 | | |
612 | 607 | | |
613 | | - | |
| 608 | + | |
614 | 609 | | |
615 | 610 | | |
616 | 611 | | |
| |||
0 commit comments