Comments (5)
You're right. I think its better to generate a new refresh token in every scenario.
For example in case 4 if we generate new tokens then you can revoke token only for some clients.
To avoid broke some clients compatibility we need to work on this and tag as a new release.
from jwtrefreshtokenbundle.
well, not generate a new refresh_token in every scenario, only when credentials are supplied (step 1, 3 or 4). When refreshing a (access) token using a refresh_token (step 2), the same refresh_token can be used.
from jwtrefreshtokenbundle.
Well its a possibility, if you want as a client to revoke the token you can logout.
from jwtrefreshtokenbundle.
Please review the pull request I've done concerning this issue. I have one more question. Why did the refresh_tokens extend their validity every time a refresh is done? It seems to me this poses a security risk. Refresh tokens can possibly be valid until the end of time
from jwtrefreshtokenbundle.
Hi, please check my comments in the pull request. Thanks
from jwtrefreshtokenbundle.
Related Issues (20)
- "message":"Repository mapped for \"App\\Entity\\JwtRefreshToken\" should implement Gesdinet\\JWTRefreshTokenBundle\\Doctrine\\RefreshTokenRepositoryInterface." HOT 2
- Compatibility bug with Symfony 6.1 & ApiPlatform 3.0 HOT 6
- [RFC] 2.0 Proposal HOT 5
- File mapping drivers must have a valid directory path HOT 1
- 401 - Invalid Credentials HOT 1
- Deprecation warnings with Symfony 5.4 and PHP 8.1 HOT 2
- Logout listener HOT 2
- The generated migration drops the entire database HOT 3
- symfony 6.2: Unable to find the controller HOT 1
- Deprecation on "Request/Extractor/RequestBodyExtractor.php::getRefreshToken": "$request->getContentType() method is deprecated"
- Setting cookie same_site with env variable not possible HOT 3
- Update from v1.1.1 to v1.1.3 leads to wrong sequence names HOT 2
- Support for partitioned authentication cookies
- Fatal error on latest version with Symfony 7 HOT 1
- Best way to re-map RefreshToken? HOT 3
- OpenApi platform docs Response missing HOT 1
- Add data as payload to the refresh route HOT 2
- Unable to find the controller for path \"/api/token/refresh\". The route is wrongly configured. HOT 2
- Missing YAML logout documentation
- Unrecognized option "anonymous" under "security.firewalls.refresh"
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 jwtrefreshtokenbundle.