DWalderD
ZITADELโ€ข4y agoโ€ข
9 replies
DWalder

Silent sign in in new tabs

Currently, when opening our website in another tab (or cmd+click on a link), the user is presented with the "Select Account" page. I would like for the user to be able to go straight to the page (as is the case with websites such as GitHub), is this possible?

I'm using react-oidc-context, which can call signinSilent from oidc-client-ts (https://github.com/authts/oidc-client-ts/blob/7734ee087187f682a7a575b0b982249cedcf702c/src/UserManager.ts#L220), but it requires iFrames (which are denied in ZITADEL).

For some reason, if I manually call window.open(link, "_blank") I can directly access the page.
GitHub
OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications - oidc-client-ts/UserManager.ts at 7734ee087187f682a7a575b0b982249cedcf702c ยท authts/oidc-client-ts
oidc-client-ts/UserManager.ts at 7734ee087187f682a7a575b0b982249ced...
Was this page helpful?