The quick start tutorial has various issues if you are trying to use this with the angular-cli which if you are using Angular (4) you should be. Including issues with the AUTH_PROVIDERS not working, however there are other workarounds for this.
Another of the issues is that the use of angular2-jwt is incorrect and does not work. There’s an issue where
tokenNotExpired always returns