Hello @Amjad Khan ,
Authentication in Blazor Hybrid apps is handled by native platform libraries (iOS/Android/Windows/Mac and so on), which is different from Blazor WASM.
Furthermore, .NET MAUI apps use Xamarin.Essentials: Web Authenticator: The WebAuthenticator class allows the app to initiate browser-based authentication flows that listen for a callback to a specific URL registered with the app. For more details, you can refer to ASP.NET Core Blazor Hybrid authentication and authorization | Microsoft Learn
(Note: Xamarin.Essentials is a part of MAUI currently)
From your description, you want to implement a MAUI app on Windows platform, you can check the Web authenticator in MAUI. At the moment, WebAuthenticator
isn't working on Windows, and you can follow the progress at https://github.com/microsoft/WindowsAppSDK/issues/441
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.