Each time the app is loaded, a fresh login is required. Is there a way to have a users ArcGIS Online and Server login credentials persist for a certain amount of time?
Has anyone implemented a login/logout system for the ArcGIS Online credentials in their app? Please let me know if there are resources that would help me out on this topic.
How were you able to get the login credentials to persist?
If the "appId" is set in the built version of your appbuilder app or in your authInfo parameters for other apps, then the app will automatically use OAuth2 to handle the ArcGIS Online credentials. You can choose to stay signed in at login, otherwise it's session stored credentials.
Retrieving data ...