aurelia-contrib / aurelia-open-id-connect

An aurelia adapter for the IdentityModel/oidc-client-js
https://zamboni-app.azurewebsites.net
MIT License
54 stars 18 forks source link

authorize-step should also ensure user session is not expired #64

Closed koenbeuk closed 5 years ago

koenbeuk commented 5 years ago

On occasion or when working offline, my user session expires yet the AuthorizeStep does not kick in and still allows me to navigate to protected routes.

shaunluttin commented 5 years ago

Nice catch! The implementation looks good to me. Could you also please update the associated test(s). That way the tests will continue to reflect the code.

koenbeuk commented 5 years ago

Updated with the test included