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

[Problem/Bug]: Msal authentication Msal via a broker to webview2 #4895

Open
JohnDizzle opened this issue Oct 28, 2024 · 0 comments
Open

[Problem/Bug]: Msal authentication Msal via a broker to webview2 #4895

JohnDizzle opened this issue Oct 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JohnDizzle
Copy link

What happened?

I have a desktop app that I am successfully authenticating utilizing a broker for authorization through a public client. I have the authentic result; which gives me user identifier, access token, and user principal name. I asked copilot and it recommended adding cookies and then says adding a header to webview2 request handler. All were successful with the addition, but Microsoft when going to office apps like word and outlook it still wants a login. I’ve done this is a react app with local storage or
Persistent caching as well. But winui3 desktops that host a webview2 for its primary functionality doesn’t cross authenticate.
Please help me ?

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

16.2

Framework

WinUI2/UWP

Operating System

Windows 10

OS Version

H22

Repro steps

Tried cookies and request via webview2 apis and handlers

Repros in Edge Browser

Yes, issue can be reproduced in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

No response

@JohnDizzle JohnDizzle added the bug Something isn't working label Oct 28, 2024
@JohnDizzle JohnDizzle changed the title [Problem/Bug]: Msal authentication via a broker to webview2 [Problem/Bug]: Msal authentication Msal via a broker to webview2 Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant