ember-simple-auth
ember-simple-auth copied to clipboard
sessionInvalidated() not causing refresh
I'm seeing a situation where signing out does not trigger a full page refresh. Has anyone else experienced this? I'm on Ember 3.16.
Wondering if this is even browser-related because I've even overridden sessionInvalidated with:
window.location.reload(true)
and it's not working 🤔
Any help or pointers would be greatly appreciated!
Are you mixing the ApplicationRouteMixin into the application route?
I am mixing in ApplicationRouteMixin. The sessionInvalidated() method gets called if I override it, but window.location.reload(true) doesn't seem to do anything.
And if I don't override sessionInvalidated(), nothing happens after the session is invalidated.
@adambedford is this still a problem? I'd say if window.location.reload(true) doesn't do anything that seems unrelated to ESA. Do you see any errors in the console?