angular2-jwt-authentication-example
angular2-jwt-authentication-example copied to clipboard
Angular 2/5 JWT Authentication Example
Please help me to add condition of signature expire in auth.guard. Here, we are only checking the token exist. I want to check whether our token expire and if expire,...
Well, the page freezes on the loading screen. Checked everything and have no idea.
If I manually change the token value in stored in localstorage the UI still sees me as being logged in.
I'm trying to run this example as an Angular CLI app. It uses webpack by default instead of SystemJS. The bundle gets built with no errors, but I've got this...
I made some minor changes to get this example to work with django-rest-framework-jwt (without affecting the core example). Firstly, calls to DRF failed because of HTTP 415 (unsupported media type)...
Implemented CanActivate to guard the routes, and navigating to /login if the user is not logged in, but i can see it is redirecting with POST request, which results to...