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

WebAuthenticationBrokerProvider for Desktop? #19143

Open
MartinZikmund opened this issue Jan 2, 2025 Discussed in #19129 · 0 comments
Open

WebAuthenticationBrokerProvider for Desktop? #19143

MartinZikmund opened this issue Jan 2, 2025 Discussed in #19129 · 0 comments

Comments

@MartinZikmund
Copy link
Member

Discussed in #19129

Originally posted by Mike-E-angelo December 26, 2024
I am viewing this page:
https://platform.uno/docs/articles/features/web-authentication-broker.html

All platforms are listed with the exception of desktop. I am using this as my default platform for development and when I attempt to use the built-in/generated Open Connect ID authentication scenario/feature in a basic project, I get the following exception thrown during login via IdentityModel.OidcClient.OidcClient.LoginAsync:

System.NotImplementedException: The method or operation is not implemented.
   at Uno.AuthenticationBroker.WebAuthenticationBrokerProvider.AuthenticateAsyncCore(WebAuthenticationOptions options, Uri requestUri, Uri callbackUri, CancellationToken ct) in /__w/1/s/src/Uno.UWP/Security/Authentication/Web/WebAuthenticationBrokerProvider.skia.cs:line 23
   at Uno.AuthenticationBroker.WebAuthenticationBrokerProvider.AuthenticateAsync(WebAuthenticationOptions options, Uri requestUri, Uri callbackUri, CancellationToken ct) in /__w/1/s/src/Uno.UWP/Security/Authentication/Web/WebAuthenticationBrokerProvider.cs:line 65
   at Windows.Foundation.AsyncOperation`1.BuildTaskAsync(FuncAsync`2 taskBuilder) in /__w/1/s/src/Uno.Foundation/Internal/AsyncOperation.TResult.cs:line 70
   at System.WindowsRuntimeSystemExtensions.AsTaskCore[TResult](IAsyncOperation`1 source, CancellationToken ct) in /__w/1/s/src/Uno.UWP/System.Runtime/WindowsRuntimeSystemExtensions.cs:line 66
   at Uno.Extensions.Authentication.Oidc.WebAuthenticatorBrowser.InvokeAsync(BrowserOptions options, CancellationToken cancellationToken)

I am curious if I am overlooking something obvious. Searching resulted in the above page and nothing else substantial.

Thank you for any assistance you can provide. 🙏👍

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

No branches or pull requests

1 participant