Skip to content

AppleAppStoreBridge: "JWT token not found in page content" after Apple Store "liquid glass" frontend update #4802

@NohamR

Description

@NohamR

Describe the bug
Since the latest Apple Store front-end update ("liquid glass"), AppleAppStoreBridge fails to extract the JWT token from app pages and throws an exception:
"JWT token not found in page content". This prevents the bridge from returning any data for affected apps.

Example app: Wipr2 — https://apps.apple.com/us/app/wipr-2/id1662217862

To Reproduce
Steps to reproduce the behavior:

  1. Open RSS-Bridge and use the AppleAppStoreBridge (or call the bridge URL directly).
  2. Use this query (example): action=display&bridge=AppleAppStoreBridge&id=1662217862&p=mac&country=US&format=html
  3. Request the bridge (via the web UI or API).
  4. See the exception/error "JWT token not found in page content".

Full error / context (copied from the instance):

Details
Type: Exception
Code: 0
Message: JWT token not found in page content
File: bridges/AppleAppStoreBridge.php
Line: 123
Trace
#0 index.php(73): RssBridge->main()
#1 lib/RssBridge.php(39): RssBridge->{closure}()
#2 lib/RssBridge.php(37): CacheMiddleware->__invoke()
#3 middlewares/CacheMiddleware.php(44): RssBridge->{closure}()
#4 lib/RssBridge.php(37): ExceptionMiddleware->__invoke()
#5 middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}()
#6 lib/RssBridge.php(37): SecurityMiddleware->__invoke()
#7 middlewares/SecurityMiddleware.php(19): RssBridge->{closure}()
#8 lib/RssBridge.php(37): MaintenanceMiddleware->__invoke()
#9 middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}()
#10 lib/RssBridge.php(37): BasicAuthMiddleware->__invoke()
#11 middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}()
#12 lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke()
#13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}()
#14 lib/RssBridge.php(34): DisplayAction->__invoke()
#15 actions/DisplayAction.php(54): DisplayAction->createResponse()
#16 actions/DisplayAction.php(89): AppleAppStoreBridge->collectData()
#17 bridges/AppleAppStoreBridge.php(208): AppleAppStoreBridge->getAppData()
#18 bridges/AppleAppStoreBridge.php(146): AppleAppStoreBridge->getJWTToken()
#19 bridges/AppleAppStoreBridge.php(123)

Context / query and environment:

  • Query: action=display&bridge=AppleAppStoreBridge&id=1662217862&p=mac&country=US&format=html
  • Version: 2025-01-26 (git.master.345ea58)
  • OS: Linux
  • PHP: 8.2.28

Expected behavior
AppleAppStoreBridge should find the JWT token (or otherwise obtain the app JSON/metadata) and return the feed items for the given app. The bridge should handle the updated Apple Store page structure introduced by the "liquid glass" frontend change.

Screenshots
If applicable, add screenshots to help explain your problem.

  • N/A (stack trace included above). I can attach a screenshot of the app page / network response if it helps.

Desktop (please complete the following information):

  • OS: Linux (server)
  • Browser: n/a (server-side request)
  • Version: n/a

Smartphone (please complete the following information):

  • Device: n/a
  • OS: n/a
  • Browser: n/a
  • Version: n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug-ReportConfirmed bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions