.NET MAUI authentication and authroziation

Game Warden 1 Reputation point

I'm testing the .NET MAUI framework at the moment, and I'm wondering what is the best practice for authentication on mobile devices(I don't have any previous experience with mobile apps). As far as I'm familiar with web development, for web applications frequent way of authentication is with Cookies or JWT tokens. Do those methods still apply to mobile devices? or I can simply check if the credentials match with the one in the DB and redirect the user to a different view.

Thank you!

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,141 Reputation points Microsoft Vendor


    Best practices for this issue are explained in detail in the Enterprise Application Patterns Using .NET MAUI e-book.

    You could refer to Authentication and Authorization to get more details and download the e-book.

    Best Regards,

    Alec Liu.

    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.

    1 person found this answer helpful.
    0 comments No comments