Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 IdentityModel/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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants