'Is it any possibility to create login in .NET Maui?

I am looking for any possibility to create a login in .NET Maui Desktop App. The identity provider should be IdentityServer. Is it any sample how to do it? I tried with oidc client, but failed because of redirect uri.



Solution 1:[1]

Following the example for Xamarin Authentication and Authorization should work for maui. If there is a redirect uri issue it could be you haven't registered it in IdentityServer

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 pedfx