vue-oidc-client icon indicating copy to clipboard operation
vue-oidc-client copied to clipboard

User not redirecting to IS when cookie expires

Open SoroTrestal opened this issue 5 years ago • 4 comments

Hello, first of all great project, very easy to set up.

This morning when I started my app my cookie had expired. I received an error "Frame window timed out" I had to manually refresh my app to let it redirect to identity server login page, also when I manually delete the cookie nothing happend.

Also is it possible to handle a situation when the authority server is down?

Now I just receive:

JsonService.getJson: network error SessionMonitor._start: Error from getCheckSessionIframe: Network Error

Thanks in advance

SoroTrestal avatar Oct 18 '18 07:10 SoroTrestal

Which version were you using? I'm still tweaking handling for this part.

soukoku avatar Oct 18 '18 08:10 soukoku

Hi still having the same issue, also there's a lot of entries in my local storage.

image 2

Thanks

SoroTrestal avatar Oct 18 '18 11:10 SoroTrestal

Also not sure about whose cookie you're referring to. The provider or the app? If provider then maybe 0.2.5 will work. It fixed one case when user is logged out in id srv but not on app yet. If not then I'm afraid I don't know how to fix it. :confused:

Don't know about the storage entries. Perhaps from older testing sessions and needs to be manually removed. I also had some but it correctly removes new entries while I'm watching it apparently. :roll_eyes:

soukoku avatar Oct 18 '18 18:10 soukoku

I had similar issue with the storage until I set the router to mode: 'history'. The hash (#) in the URL was not allowing the callbacks to work properly.

forenpm avatar Nov 05 '18 03:11 forenpm