Re: Interactive form workflow with Friend, can't log in

2012-11-13 Thread Thorsten Wilms
On 11/13/2012 12:28 PM, Haim Ashkenazi wrote: Here's how you wrap your application with middleware (root-routes is your main routes: (def app (-> #'root-routes (friend/authenticate …) (wrap-keyword-params) (wrap-params) …)) Now following yo

Re: Interactive form workflow with Friend, can't log in

2012-11-13 Thread Haim Ashkenazi
Hi On Mon, Nov 12, 2012 at 9:23 PM, Thorsten Wilms wrote: > On 11/12/2012 03:20 PM, Chas Emerick wrote: > >> Looks like you're not using the keyword-params middleware, which >> Friend requires (among others). Please check the last paragraph in >> the 'Authentication' section here: >> >> https:/

Re: Interactive form workflow with Friend, can't log in

2012-11-12 Thread Thorsten Wilms
On 11/12/2012 03:20 PM, Chas Emerick wrote: Looks like you're not using the keyword-params middleware, which Friend requires (among others). Please check the last paragraph in the 'Authentication' section here: https://github.com/cemerick/friend/#authentication Once you add that, then the inte

Re: Interactive form workflow with Friend, can't log in

2012-11-12 Thread Chas Emerick
Looks like you're not using the keyword-params middleware, which Friend requires (among others). Please check the last paragraph in the 'Authentication' section here: https://github.com/cemerick/friend/#authentication Once you add that, then the interactive-form middleware will pick up

Interactive form workflow with Friend, can't log in

2012-11-12 Thread Thorsten Wilms
Hi! I'm trying to use Friend with the interactive form workflow. Whenever I try to login, I get a redirect to http://localhost:8080/login?&login_failed=Y&username= The body of the POST my form generates does include username and password. My code: https://www.refheap.com/paste/6569 This vers