Are you requesting a feature or reporting a bug?
Feature
What is the current behavior?
Currently, only cookies (I think?) get saved when Role snapshots are taken. In recent releases of firebase, user state information is stored in IndexDB. As a result, switching roles does not changed the authenticated user.
Similarly, switching to an anonymous Role stays logged in as the indexDB is not cleared.
What is the expected behavior?
Creating a role and switching to a role changes the logged in user.
References:
These issues refer to resetting, but need to apply to taking snapshots as well:
Are you requesting a feature or reporting a bug?
Feature
What is the current behavior?
Currently, only cookies (I think?) get saved when Role snapshots are taken. In recent releases of firebase, user state information is stored in IndexDB. As a result, switching roles does not changed the authenticated user.
Similarly, switching to an anonymous Role stays logged in as the indexDB is not cleared.
What is the expected behavior?
Creating a role and switching to a role changes the logged in user.
References:
These issues refer to resetting, but need to apply to taking snapshots as well: