Azure Mobile Services with persistent authentication
Posted
by
akshay2000
on Stack Overflow
See other posts from Stack Overflow
or by akshay2000
Published on 2013-11-02T10:03:29Z
Indexed on
2013/11/05
3:54 UTC
Read the original article
Hit count: 222
I am trying to implement authentication with Windows Azure Mobile Services in my Windows Phone app. I have followed the official tutorials and the authentication works fine. The issue is that, whenever the app is closed and started again, the user has to enter username and password. Since the services only use authentication tokens, the 'Remember me' option on log in page is not likely to work.
The official documentation for Windows Azure shows possibility of Single Sign On with the Microsoft account using the Live SDK. The Live SDK provides authentication token in form of string
. However, even this token expires in about 24 hours. Moreover, this is restricted to the Microsoft Account only.
What are my possibilities if I want to cache the user's identity and enable automatic log in? I have already gone through the article here. User will still have to log in again once the token expires. I have seen apps which require user to sign in only once!
© Stack Overflow or respective owner