Comments (1)
JWT is just a token that has its own expiry data after which the token is not valid anymore.
If you want to stretch this thing to support Remember me then you should first generate a token that has a fairly big expiry date maybe like some date in 2020 and then store a map of user-name and the token in browser's local-storage. Once the user enters his/her username use the locally stored map to retrieve the token and use it in various REST calls
but I will not recommend this process as it creates a large surface for security attacks. JWTs are like keys, if someone get hold of it then they can have access to all your REST calls, therefore JWTs are created with a very small expiry date such as for 15 mins and then they become invalid.
from angular-springboot-rest-jwt.
Related Issues (20)
- ng serve -prod -aot HOT 6
- use lint HOT 2
- Lazy Loading Loading Data till 20 Costumers HOT 1
- bad redirect when bad login HOT 3
- is there a way of adding more than just two roles ? HOT 1
- Warinings while npm install HOT 1
- Material Design Conversion HOT 1
- User can access the pages even if they are logged out HOT 1
- CRUD screen exmple will make this complete HOT 4
- invalid credentials shows logout screen HOT 1
- 老哥,你的用户我和密码是多少,登录不了呀 HOT 4
- Keep SOLID ) HOT 1
- Roles and not camelCase Json return HOT 1
- Feature Request: Remove # from url HOT 1
- authentication not working with demo demo
- sry its not an issue but can u pleas show us how to deploy ur app to heroku
- Can't debug in eclipse due to compile issues related to properties HOT 1
- Is possible dockerizate this app? HOT 3
- Build Failure HOT 1
- web demo on heroku does not working. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-springboot-rest-jwt.