On Thursday, October 25, 2012 1:59:36 PM UTC+1, Chas Emerick wrote: > > On Oct 25, 2012, at 8:04 AM, Patrik Sundberg wrote: > > > I've digested openid and using it with google, should have a working > example to share when I have a time to put it together over weekend. > > > > I've got another common useage pattern I'd like to ask about: How do we > accomplish automatic redirect to the "correct" page? > > > > Let's say user accesses /secret, isn't authenticated and gets redirected > to /login by friend. once authenticated, how do we ensure we get redirected > back to /secret? > > I think that's a bug in the OpenID workflow. Friend will do this > redirection automatically if the workflow enables it: > > > https://github.com/cemerick/friend/blob/master/src/cemerick/friend/workflows.clj#L79 > > > There are a couple of testcases in the project that verify this; > unfortunately, the OpenID workflow doesn't yet accept the same > configuration option as the interactive form workflow. Please file an > issue, and, if you are so bold, a patch. :-) > > Got it, adding it to my weekend list. Thanks!
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en