Giacomo Tagliabue

Results 26 comments of Giacomo Tagliabue

@JeanMertz I am curious about that monstrous template for syslog_hostname, what does it do? :P

@JeanMertz @koenbollen: ![](https://media.giphy.com/media/a0Lgc1JvbfS4o/giphy.gif)

what's the difference between this vs the filter approach?

Here is my solution, achieved with subclassing ```js class MyStrategy extends OauthStrategy { authenticate(req: Request, options) { // tslint:disable-next-line:no-string-literal const callbackURL = options.callbackURL || this['_callbackURL'] options.callbackURL = addReturnTo(req, callbackURL) return...

@dgolant you can use state. here is how I do: ```js app.get(`/auth`, (req, res, next) => { const { returnTo } = req.query const state = returnTo ? new Buffer(JSON.stringify({...

@albertonzn as far as I recall, you don't. there must be some other minor issue going on on your side

it's easy enough to subclass, here is a currently working solution: ```js class MyStrategy extends OauthStrategy { authenticate(req: Request, options) { // tslint:disable-next-line:no-string-literal const callbackURL = options.callbackURL || this['_callbackURL'] options.callbackURL...

the way to handle this is to create a shiny new context every time you log in/out, which will discard all cache previously collected. basically, you'd call `new Environment` again...

:+1: really. I cannot use gulp in my CI because I am afraid I am not catching all the errors, I would like to know a bullet proof approach for...

just quickly skimmed the examples, I think having the `css` tags inside `css` tag impacts readability in the latter proposal