GoogleChromeLabs / GoogleChromeLabs/bubblewrap
URL Bar Visible on Additional Trusted Origin Domain in PWA APK
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
I'm experiencing an issue with my PWA where the URL bar is not behaving as expected across different domains. Here's the setup:
- My PWA is hosted on: `https://app.domain.com`
- My SSO (Keycloak) is hosted on: `https://sso.domain.com`
### Problem
When accessing the PWA on `https://app.domain.com`, the URL bar is hidden as expected. However, when the PWA navigates to `https://sso.domain.com` for SSO purposes, the URL bar becomes visible. I want the URL bar to remain hidden on both domains.
### Configuration
1. **Asset Links:**
- Both `app.domain.com` and `sso.domain.com` have the same `assetlinks.json` file with `no-cache` cache control, and they are accessible.
- The `assetlinks.json` file includes the necessary entries for both domains.
2. **HTML Head:**
- On `https://sso.domain.com`, I have included the following in the `` section:
```html
```
### Issue
Despite following the steps outlined above, the URL bar remains visible on `https://sso.domain.com`. I am unsure what might be wrong with the SSO additional trusted origin configuration.
### Request
Could you please help me identify what might be causing this issue or guide me on any additional steps I might need to take to resolve it?
### Additional Information
Let me know if there is any more information that I can provide to help diagnose this issue.
---
Thank you for your assistance!
---
I hope this helps! Feel free to modify the text as necessary to fit your specific situation.
Contributor guide
Assessment
This issue has not been assessed yet.