Comments (6)
This is still open to work on right. Can I work on this?
from parse-server.
@vivekjoshi556 Please do work on this, I will beta test for you. I have a good idea above how to fix it without incurring additional writes on Mongo, but I will not have a time to look at it in the near future!
from parse-server.
@vivekjoshi556 Sure, please go ahead.
from parse-server.
Thanks for opening this issue!
- 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
from parse-server.
Last time I tried to use this I came to the same conclusion (IIRC). I think not updating the session expiration on every use is actually a good design decision, as it would hit the Mongo with session object write with every authenticated read. But it may be wise to perhaps make this configurable or invent some better update magic.
For example, if the session expiration is set to N days, it would be wise to extend the use every day.
If the session expiration is set to N minutes, it may be wise to extend every minute.
if session expires in N hours (but less then a day), it may be wise to update every hour.
so hardcoding 24 hours probably makes sense for longer session expirations in days, and does not work at all for sessions with expirations in hours or minutes.
from parse-server.
Please feel free to open a PR; likely a simple fix, just remove the yesterday
var.
from parse-server.
Related Issues (20)
- Parse.Cloud.beforeLogin doesn't trigger the first time when linked with AuthData. HOT 3
- Dynamic master key and maintenance key HOT 1
- Playground is not working HOT 1
- Allow the use of Cookies for authentication HOT 1
- Ability to override the global JS SDK within the Server runtime HOT 4
- Remove unregistered FCM tokens HOT 3
- Allow to run queries through LiveQueryClient HOT 6
- beforeSubscribe, onLiveQueryEvent and afterLiveQueryEvent hooks are not called (LiveQuery) HOT 1
- Run parse server HOT 3
- request_password_reset: insufficiently escaped URL is incorrectly converted turned into a clickable link by GMail receiving plain text email HOT 7
- Schema Migration Overriding exist Indexes HOT 17
- `new Date()` in aggregation node.js HOT 8
- Add support for Facebook auth JWT token HOT 5
- Parse server V6.2.0 does't return session token after logInWith google HOT 1
- Querying non-existent classes throws an undefined error. HOT 1
- configure PARSE_SERVER_CLEANUP_INVALID_INSTALLATIONS without environment vars HOT 2
- Remove `push_id` and `push_time` from push notifications HOT 4
- Codecov not working HOT 3
- Docker build is failing HOT 1
- Upgrade to Parse 5.1.0 fails 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 parse-server.