Store the Access token

asked 2021-04-15T07:35:49.767+00:00
Vasanthakumar M 251 Reputation points

Hi Techie,
I'm using the current app (my app), If I want to use some other app in between ( like Facebook or what's app), and I reopened my app again it won't log out and log in again. It remain login and redirect to homepage .

How to achieve this functionality in Xamairn forms

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,803 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-04-15T12:08:54.463+00:00
    Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,081 Reputation points Microsoft Employee


    Welcome to our Microsoft Q&A platform!

    Do you want to use FaceBook, other accounts to sign in your application, then you remember the Access token for next time? If so, you can use Xamarin.Auth to achieve it

    For FaceBook account auth, you can Google search(Due to the policy, I cannot give you link directly): Social Media Authentication – Facebook login in Xamarin Forms

    For Google account auth, you can Google search: Authenticate users through Google with Xamarin.Auth

    Best Regards,

    Leon Lu

    If the response is helpful, please click "Accept Answer" and upvote it.

    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.

    No comments