Repository navigation
Zero Trust Auth Redirection support #836
Replies: 4 comments 10 replies
|
Tried this today and you right, it doesn't work. After authenticated by Zero Trust, I could get into TREK, then installed PWA. However, after that, it doesn't work. I cannot change map template, got "network error". This is important to me to get Zero Trust working. |
0 replies
|
Making it worse, even if you authenticate in the browser to zero trust then come back a few days later. You now can’t auth in the browser if using SSO because the service worker is cached and doesn’t send the proper headers which on first access is intercepted. |
0 replies
|
Resolved in https://github.com/mauriceboe/TREK/releases/tag/v3.0.16 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When using Cloudflare Zero Trust or Pangolin for exposing apps to the internet, the PWA basically gets stuck on the login screen because it can not detect that it was redirected to the CF or Pangolin auth flow.
After updating to 3.X I can see the same issue still persists. After a few minutes of failure the PWA eventually drops you to the login screen for Trek but not for your Zero Trust provider.
A simple 302 catch should work and allow this flow. I have other PWAs which respect this (granted they are not offline PWAs like trek)
All reactions