V1.0 branch isTokenExpired need to check if token is null from tokenGetter
for example:
if (token === void 0) { token = this.tokenGetter(); } if(token === null) return true; var date = this.getTokenExpirationDate(token); offsetSeconds = offsetSeconds || 0;
without that check, there will be an error popup if user is not logged in
@dannyzhan This should be fixed in v1.0 (see https://github.com/auth0/angular2-jwt/commit/fa91597e1501df173aa8cea29691adfacd0ad8a7).
I confirm that this issue is fixed in v1.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️