Comments (3)
I have written code to do that before but didn't make it in.
Lines 87 to 108 in 9e5a5b9
from frame.
Yeah we should add this. One thing I would add... let's not use the ip
as part of the unique identifier for the device. For example my phone is the same browser/session but can be on multiple IPs per day.
from frame.
In the next version of Frame I've simplified session handling a bit. I've removed the revoked
property from sessions and also decided (for now) not to include any restoring session logic (this issue) by default.
I intend for Frame to be generic. This results in less opinions forced on other people and also less to maintain. For example; we're using hapi-auth-basic
which I don't recommend that anyone use. In 100% of my use cases I remove hapi-auth-basic
as almost the first step. In some cases hapi-auth-cookie
with keep alive configured has a really good session retention experience for me.
Thanks again for getting involved.
from frame.
Related Issues (20)
- Add Hapi-Auth-Cookie authentication support HOT 1
- how to upload it on heroku?? can u upload document with details? HOT 1
- Unauthorized when running first-time-setup HOT 1
- is it useful ? HOT 1
- Middleware for checking permissions HOT 1
- bcryptjs instead of bcrypt HOT 1
- iife is a better way HOT 1
- Useless config
- Route “config” is now “options”
- different structure for better scale
- Api doc is unavailable HOT 2
- npm test not working HOT 2
- Can you provide the api document? HOT 1
- No documentation on the 50 endpoints across 11 categories included in this user API starter HOT 6
- Client-side for frame HOT 1
- Purpose of status model should be documented HOT 1
- Swagger Issues HOT 13
- Switch framework default authentication to cookies/sessions instead of basic auth HOT 6
- Question: non-hapi version? HOT 2
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 frame.