Universally clearing persistence

My app has several pages and many components defined with

persistence=True,
persistence_type='session',

I have implemented a simple authentication system using GitHub - russellromney/dash-auth-flow: Batteries-included authentication flow with Dash. (thanks @russellthehippo). So if a user logs out and new user logs in to the same browser tab, the session is still the same and items selected by the previous user persist.

Is there a way to completely reset the session whenever a user logs out (or in) to these clear persistent values? The Explicitly clearing saved data example just showed how to clear or reset one specifically within a callback and I have dozens.

1 Like