AGSPortal.logout() does nothing?

Discussion created by stephen.miller4 on Jul 5, 2019
Latest reply on Jul 5, 2019 by stephen.miller4

I'm trying to call .logout() on a portal that a user has successfully logged in to, but the call seems to do nothing. After calling it, portal.user and portal.portalInfo are still set, and the loadStatus is still .loaded . Is this the expected behavior or a bug?