Re: Some Friend documentation and regarding documentation in general

2012-10-29 Thread Patrik Sundberg
On Sunday, October 28, 2012 9:56:35 PM UTC, Patrik Sundberg wrote: On Sunday, October 28, 2012 8:14:41 PM UTC, Chas Emerick wrote: On Oct 28, 2012, at 2:57 PM, Patrik Sundberg wrote: I've looked at this for a bit now. It seems there are some slight inconsistencies in how the redirect

Re: Some Friend documentation and regarding documentation in general

2012-10-28 Thread Patrik Sundberg
I've looked at this for a bit now. It seems there are some slight inconsistencies in how the redirect info is used: Where the redirect-on-autth? is being set up for the interactive-form workflow it looks to me to be assumed to be a boolean flag.

Re: Some Friend documentation and regarding documentation in general

2012-10-28 Thread Chas Emerick
On Oct 28, 2012, at 2:57 PM, Patrik Sundberg wrote: I've looked at this for a bit now. It seems there are some slight inconsistencies in how the redirect info is used: Where the redirect-on-autth? is being set up for the interactive-form workflow it looks to me to be assumed to be a

Re: Some Friend documentation and regarding documentation in general

2012-10-28 Thread Patrik Sundberg
On Sunday, October 28, 2012 8:14:41 PM UTC, Chas Emerick wrote: On Oct 28, 2012, at 2:57 PM, Patrik Sundberg wrote: I've looked at this for a bit now. It seems there are some slight inconsistencies in how the redirect info is used: Where the redirect-on-autth? is being set up for the

Re: Some Friend documentation and regarding documentation in general

2012-10-25 Thread Patrik Sundberg
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,

Re: Some Friend documentation and regarding documentation in general

2012-10-25 Thread Chas Emerick
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

Re: Some Friend documentation and regarding documentation in general

2012-10-25 Thread Patrik Sundberg
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

Re: Some Friend documentation and regarding documentation in general

2012-10-24 Thread Patrik Sundberg
On Wednesday, October 24, 2012 3:10:52 AM UTC+1, David Della Costa wrote: Patrik, Pierre, have you folks checked out the mock app that Chas created in the test directory? It's not going to give you everything you're looking for but make it can help. There is an implementation of the

Re: Some Friend documentation and regarding documentation in general

2012-10-23 Thread Patrik Sundberg
These are great tutorials. Thanks for publishing. Right now I'm looking for something similar using the OpenID workflow. I see it's there but how I use to for example create a sign in with google setup is less clear to me. Has anyone got a good OpenID example out there somewhere? On Saturday,

Re: Some Friend documentation and regarding documentation in general

2012-10-23 Thread Pierre R
Thanks David for the extra doc. I have had a try with OpenID. Everything works kind of expected. I had a question about 302 redirection prior to authentication that I posted on github. Another question is how to link the concept of roles with the openid credentials. IMHO the doc is really

Re: Some Friend documentation and regarding documentation in general

2012-10-23 Thread David Della Costa
Patrik, Pierre, have you folks checked out the mock app that Chas created in the test directory? It's not going to give you everything you're looking for but make it can help. There is an implementation of the OpenID workflow in there, including a credential-fn example:

Re: Some Friend documentation and regarding documentation in general

2012-10-07 Thread Dave Della Costa
Hi Chas, Great, I'm glad you think this is a useful contribution, and thanks for the encouraging words! To address some specific points: I know that Friend's docs are particularly dense, especially for anyone that just wants to use the stuff. That's probably due to my using the docs to

Some Friend documentation and regarding documentation in general

2012-10-06 Thread Dave Della Costa
Hi folks, I've been pretty slack in communicating via the mailing list, but I realized today that there is a lot of important dialogue going on here so I have to make more of an effort to take part--I want to be a part of this community! In any case, I've been using Friend a lot lately, since I

Re: Some Friend documentation and regarding documentation in general

2012-10-06 Thread Shantanu Kumar
This is fantastic documentation and Michael's feedback is apt and valuable. I think resources like this should be linked-to from the Friend README (or an appropriate documentation site, e.g. CDS) to collect such pointers in one place. Shantanu On Oct 6, 10:02 pm, Michael Klishin

Re: Some Friend documentation and regarding documentation in general

2012-10-06 Thread Dave Della Costa
Michael, this is great feedback. This tutorial is missing the crucial first step: explaining how to add Friend as a dependency with Leiningen (and Maven). So, part of me had thought that these details would covered by looking through the source of the repo, but on consideration, I think

Re: Some Friend documentation and regarding documentation in general

2012-10-06 Thread Dave Della Costa
Thanks Shantanu! Yeah, I'll ping Chas Emerick to see what he thinks if he doesn't tune in on this thread. (12/10/07 2:25), Shantanu Kumar wrote: This is fantastic documentation and Michael's feedback is apt and valuable. I think resources like this should be linked-to from the Friend README

Re: Some Friend documentation and regarding documentation in general

2012-10-06 Thread Dave Della Costa
Ah, right. Again, something I'm making assumptions about that maybe I shouldn't be. I use 'lein ring server-headless' to run the app, and it always shows up on port 3000. I believe this is a part of Compojure, but I have to admit I'm not positive--it shows up in the Compojure docs here

Re: Some Friend documentation and regarding documentation in general

2012-10-06 Thread Dave Della Costa
Sorry Michael, I was mistaken about it being Compojure, this is obviously all lein-ring territory (see in particular, Starting a web server): https://github.com/weavejester/lein-ring (12/10/07 2:57), Michael Klishin wrote: 2012/10/6 Dave Della Costa ddellaco...@gmail.com

Re: Some Friend documentation and regarding documentation in general

2012-10-06 Thread Chas Emerick
Hi Dave, This is a metric ton of awesome; thank you very much for taking the time and effort to put all this together. And, BTW, based on what I've seen so far, I never would have thought you were new to Clojure. :-) cont'd… On Oct 6, 2012, at 11:49 AM, Dave Della Costa wrote: I think Chas