Store the Access token

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

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

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

1 answer

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

    Hello,​

    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

    https://github.com/xamarin/Xamarin.Auth

    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.

    0 comments No comments