Is there a way to check the Remember Me checkbox on Azure Mobile Service authentication for WinRT applications?

I am trying to add Azure Mobile Service authentication to my WinRT application. Everything works for me, and I can log in with all 4 accounts on social networks (Facebook, Twitter, Google and Microsoft Account). But when I close the application and restart it, I have to write my username and password, even if I check the "Remember me" button on one of the options. Let's say I logged in with my Facebook account, what I want to achieve when I restart the application and click on “Sign in to Facebook”, it should not ask for my username and password, but it will automatically authenticate me. The Remember Me button does not seem to work. Is there any way to achieve this? Thanks for answers.

Edit: I am using C # / XAML for my application.

+4
source share
2 answers

According to this page: http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-with-users-dotnet/

Note ... This method is easy to configure and supports multiple providers. However, this method also requires users to log in every time the application starts. Instead, use Live Connect to provide single sign-on to the Windows Store app; see Single Sign- On for Windows Store apps using Live Connect.

+1
source

Source: https://habr.com/ru/post/1479239/


All Articles