PWA Scope Test — App side

Host:

1. Install first. Open this page in Safari on iOS, tap Share → Add to Home Screen, then launch from the home-screen icon (not Safari). The reading below must say standalone before you test.
display-mode: standalone
navigator.standalone (iOS)
Returned from auth host?
Still standalone after return?
2. Run the round-trip. Tap below. The app navigates to the auth host (different subdomain, same registrable domain), which immediately 302s back here. After you land back, read Still standalone after return?

Set the auth URL via ?auth=https://auth.norhi.ca/roundtrip in the address bar before installing, or it defaults to the value baked below.