ciaranj / express-auth Goto Github PK
View Code? Open in Web Editor NEWThe beginnings of an authentication framework for expressjs.com Largely a port (at least in terms of intent) of http://github.com/hassox/warden
The beginnings of an authentication framework for expressjs.com Largely a port (at least in terms of intent) of http://github.com/hassox/warden
When a user becomes authenticated or logs out, it would be nice to be able to fire event handlers.
hej hej,
kiwi install is not working, see:
$ kiwi install express-auth
install : express-auth
version : <title>404 Not Found</title>
The requested URL /express-auth/resolve was not found on this server.
Hi,
I'm getting this error:
vendor/express/lib/express/plugins/auth.core.js:101 if( ! event.request.session.auth ) { ^ TypeError: Cannot read property 'auth' of undefined at [object Object].<anonymous> (vendor/express/lib/express/plugins/auth.core.js:101:34) at [object Object].trigger (vendor/express/lib/express/plugin.js:41:36) at next (vendor/express/lib/express/request.js:340:38) at [object Object].trigger (vendor/express/lib/express/request.js:343:6) at [object Object].route (vendor/express/lib/express/core.js:278:13) at IncomingMessage.callback (vendor/express/lib/express/core.js:219:18) at IncomingMessage.emit (events:25:26) at HTTPParser.onMessageComplete (http:110:23) at Stream.ondata (http:624:22) at IOWatcher.callback (net:373:31)
any idea what it could be?
Many thanks,
CJ
'Scopes' are only partially supported at the minute, the strategies currently have no notion of what scope they're running under.
Where appropriate, create automatically an /auth/foo route for each strategy type.
It would be nice to construct strategies once, allowing for options to be passed for one time constructs, such as routes. Currently the routes are pretty static and we're creating un-neccesary objects, where mutating the meaning of 'this' might well suffice in the authenticate method.
I'am getting this error
exports.AuthStrategy= Class({
^
ReferenceError: Class is not defined
Are there other dependencies other than express, connect, oath?
I'am using node 0.2.1 and latest express
Complete the strategy, support qop and cnonces, finally figure out the quoting rules.
it would be cool to auto-refresh yahoo's oauth tokens if the session remains valid (setTimeout ? )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.