Hi Team,

As per my requirement i have used ADAL for user authentication.

But when the user is minimizing the app my app is loggedout and again it is redirecting me to the Login page how can i solve this.


Thanks

Harish

  • Is this a Traditional Web, Reactive, or Mobile app?
  • What platform version are you using?
  • If a Web app, what browser are you using? 
    • Have you tested against other browsers?
  • By "ADAL" are you referring to having Active Directory configured in the Users app?

These two topics in the documentation can help you understand how mobile authentication works and how to adjust the behaviour to your needs.

  • Configure Mobile App Authentication - What types of Authentication are available, how they each behave and how you can configure them (per environment)
  • Persistent Login - How to use Persistent vs. Session Logins (Persistent is the default in all of the SilkUI templates)

From the first link you'll learn that, by default, Persistent Login:

  • lasts for 365 days without the app communicating with the server;
  • the app needs to communicate with the server at least once every 30 days, or the user will need to login again for the app to be able to communicate with the server again.

And, when using a Session Login, if the app doesn't access the server for 30 minutes (or the user closes the app), the user will also be required to login again.

Cheers,
Nuno Verdasca

Are you using any component for Azure AD Auth Library? Which ADAL library version?

Swatantra Kumar wrote:

Are you using any component for Azure AD Auth Library? Which ADAL library version?

ADAL Forge plugin i am using . am developing mobile application.