Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

SSO using Embedded Browser #96

Open
dschwartzni opened this issue Mar 18, 2021 · 3 comments
Open

SSO using Embedded Browser #96

dschwartzni opened this issue Mar 18, 2021 · 3 comments

Comments

@dschwartzni
Copy link

I set up an application using your WinForm Sample. The OIDC successfully shows the login form, does MFA, and I get back the tokens.

However, if I close the application and open it again, I have to authenticate again. Usually, the SSO session in the browser allows me to bypass this step.

How can I configure my application to use the SystemBrowser or another browser that will maintain those SSO cookies between executions and/or for different applications that use this component.

Thanks in advance.

@leastprivilege
Copy link
Contributor

When using an embedded browser, you do not get SSO. You need to spawn the system browser for that.

See here e.g.
https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/main/WindowsConsoleSystemBrowser

@leastprivilege leastprivilege transferred this issue from DuendeArchive/IdentityModel.OidcClient Mar 19, 2021
@dschwartzni
Copy link
Author

That is helpful. I didn't see the example of using the System Browser.

Is there a way to use the System Browser but have it displayed in a dialog box (like the Embedded Browser). That provides a nicer user experience.

@leastprivilege
Copy link
Contributor

No. sorry ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants