How do I create a Xamarin Forms login app to consume an api to authenticate the user using the MVVM Model?

Mutai08 0 Reputation points
2023-05-12T13:34:23.46+00:00

The code should contain MVVM pattern architecture

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,012 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,168 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
3,292 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
27,134 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
644 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 36,421 Reputation points
    2023-05-12T17:43:44.2033333+00:00

    if you are using oauth, then typically a webview is required. you will want a client sdk for this as coding the login is a little complex. see the web authenticator

    https://learn.microsoft.com/en-us/xamarin/essentials/web-authenticator?tabs=android

    0 comments No comments