auth0 / auth0-oidc-client-net

OIDC Client for .NET Desktop and Mobile applications
https://auth0.github.io/auth0-oidc-client-net/
Apache License 2.0
84 stars 48 forks source link

Add support for Windows using WinUIEx #283

Closed frederikprijck closed 10 months ago

frederikprijck commented 10 months ago

Changes

With MAUI not having built-in support for opening a browser on windows yet, we want to integrate support for Windows using WinUIEx, a community package to solve the lack of support for Windows.

See:

Relevant links for WinUIEx:

Checklist

dotMorten commented 10 months ago

Make sure you add the WebAuthenticator.CheckOAuthRedirectionActivation() to app startup in \Platforms\Windows\App.xaml.cs, as well as update the appxmanifest with your redirection scheme

frederikprijck commented 10 months ago

Thanks for calling that out @dotMorten , I plan to add that to the documentation (and have done so in our sample app that we will publish).

There is also the change we want to document about the WindowsAppSDK as per https://dotmorten.github.io/WinUIEx/concepts/Maui.html, but I was unable to get 1.4.230822000 to work, so had to stick to WebUIEx 2.2.0.

Thanks for providing WebUIEx, I will ensure to call out we use WebUIEx for windows support to properly credit 👍 .