<div dir="ltr"><div><div><div>Hello,<br><br></div>When integrating the Aerogear iOS OAuth2 library, I&#39;m adding an account like so: <br><br>let googleModule = AccountManager.addGoogleAccount(googleConfig) <br><br>In the current session, I can then make calls like <br><br>let module = AccountManager.getAccountByName(&quot;my_custom_account_name&quot;) <br><br>and retrieve the module to call requestAccess() on and go on with my day. However, if I stop the app or restart the device, the following calls to getAccountByName() returns nil, even when given the same account ID. From the documentation, it&#39;s unclear how to persist accounts in the account manager across sessions. Do I need to resurrect the session somehow or reinstantiate it? Or am I missing how AccountManager interacts with the TrustedPersistantOAuth2Session? My goal is to simply be able to authorize multiple Gmail accounts and refresh their access tokens when needed. The AccountManager seemed a good way to do this, but I could be mistaken.<br><br></div>Best,<br></div>Michael Doo<br></div>