Re: [w3c/manifest] Provide a way to not open a link in the PWA, in the moment (#989)

I should be able to tell `window.open` to open the url in the browser, and not in the PWA. As stated in [this SO thread](https://stackoverflow.com/questions/68518730/pwa-prevent-urls-from-opening-in-the-pwa?noredirect=1#comment121092911_68518730), I already tried everything.

- Exclude from navigationUrls: `"navigationUrls": [ "!/web/v3/Account/connect/" ]`
- Use target: `window.open(url, '_system')`
- Use target: `window.open(url, '_blank')`
- Use ngsw-bypass: `window.open(url + '?ngsw-bypass=true')`

But still the links open in the PWA. A year ago I worked around this by creating a subdomain hosting the MVC endpoints for the external logins, and that works pretty well.
But now I ran into trouble while implementing 2-factor authentication, because the calls to `ExternalLoginSigninAsync` and `TwoFactorAuthenticatorSignInAsync` have to be executed from the same domain.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/989#issuecomment-886464937

Received on Monday, 26 July 2021 07:54:06 UTC