a while ago I mentioned Codeshelver, an app I've written with express. Yesterday I open sourced it and I thought it might be of interest for some of you.
http://dennisbloete.de/blog/codeshelver-is-open-source/
http://github.com/dbloete/Codeshelver
http://codeshelver.com/
Best regards,
--
Dennis
web http://dennisbloete.de
mobil +49 (0)151 22630317
> --
> You received this message because you are subscribed to the Google Groups "Express" group.
> To post to this group, send email to expre...@googlegroups.com.
> To unsubscribe from this group, send email to express-js+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/express-js?hl=en.
>
>
Which would be cool :)
-cj.
>
> I got errors like res.cookie is undefined. How can we fix that?
An error like that means the strategy you're using has a dependency on
connect's session middleware (which in turn has a dependency on the
cookie middleware, install them and you're away :)
-cj
- cj
On Wednesday, November 10, 2010, vision media [ Tj Holowaychuk ]
<t...@vision-media.ca> wrote:
> does connect-auth have external deps? otherwise this will do:
> module senchalabs connectmodule visionmedia expressmodule ciaranj connect-auth
function( error, result, response);
The first argument will always be null in the case of a sucessful
request, or an object literal representing the error in the failure
case, the second argument contains the data received from the server
as a string, and the third argument gives you direct access to the
underlying node ServerResponse object returned from the HTTP client
connection.
None of these objects has a meaningful notion of 'cookie' ... which I
suspect is the error you're seeing, could you point me at the code in
github, it may perhaps be a scope/typo error ?
Cheers!
-cj
The only thing I can speculate is that somehow your callback/closure
is inheriting some scope from inside the OAuth library (so the 'res'
variable isn't pointing at what you think it is) to test for this, add
some code after line 117 to assign 'res' to some new local variable
e.g. 'var selfres= res' Then at line 139 refer to selfres instead of
res see if that works... as a side note connect-auth does all this for
you (including creating that user object ;) )
Cheers
-cj.
--
You received this message because you are subscribed to the Google Groups "Express" group.
To post to this group, send email to expre...@googlegroups.com.
To unsubscribe from this group, send email to express-js+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/express-js?hl=en.
On Mon, Nov 15, 2010 at 4:22 PM, vision media [ Tj Holowaychuk ]
> To unsubscribe from this group, send email to express-js+...@googlegroups.com.