Re: Belgian Clojure base meetup?

2012-12-18 Thread Pierre R
Liege would be not too far

-- 
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

Re: what is the simplest user auth system possible?

2012-10-26 Thread Pierre R
+1 for Persona. Please give your user a chance to break the cycle of 
password madness ;-)

On Friday, October 26, 2012 1:10:42 PM UTC+2, Dave Sann wrote:

 Sorry, I meant to say authentication.

 On Friday, 26 October 2012 22:06:48 UTC+11, Dave Sann wrote:

 For authorisation, I really like mozilla persona (previously browserid) 
 which I discovered from refheap. javascript lib plus an http request from 
 the server to validate. really simple.

 https://login.persona.org/

 Dave



 On Friday, 26 October 2012 01:35:53 UTC+11, Stephen Compall wrote:

 On Oct 25, 2012 9:04 AM, larry google groups lawrenc...@gmail.com 
 wrote:
  For my next step, I need to come up with a user system. My needs are 
 minimal: I only need to know when someone is logged in, and I need to 
 associate them with some user id (the id will simply be the id from a user 
 table kept in MySql). 
 
  I am curious what is the absolutely easiest way to do this?

 The easiest auth system to write is the one that's already written.

 https://github.com/cemerick/friend

 --
 Stephen Compall
 If anyone in the MSA is online, you should watch this flythrough. 



-- 
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

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 lacking and I have to say I was expecting more 
guidance in the code itself.

I guess a lot of stuff obvious to an experienced clojure developers are 
still dark magic to me.

In particular it is rather difficult to understand how to write a 
crendential-fn and this link won't help you ;-)
https://github.com/cemerick/friend/blob/master/docs/credentials.md

For OpenId I have blindly used the identity function without much 
understanding ...

I am using Friend to scratch a little auth server. Not sure it is the best 
fit for that purpose. I will see.

I hope Friend is going to be reviewed by an extended community of people 
much more qualified than myself to talk about such matter.

Still docs could be improved and I believe helps could come from pull 
requests to suggest the addition of code comments there and there. 

If I dig far enough in the code, I would be pleased to help.

Thanks for the hard work.

Cheers,

Le mardi 23 octobre 2012 17:50:25 UTC+2, Patrik Sundberg a écrit :

 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, October 6, 2012 4:50:05 PM UTC+1, David Della Costa wrote:

 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 come from 
 Ruby-on-Rails-land, and it addresses a lot of the pain points that 
 Devise does for me. 

 But (as has been mentioned in other threads quite recently), 
 documentation is definitely the Clojure community's week point: it's 
 inconsistent, formatted inconsistently (Ring and Compojure, for example, 
 are wonderful exceptions), and updated erratically.  When it's good, 
 it's great; but when it's not, it puts me off from using a library.  For 
 example, I stayed away from Enlive for months before I realized what a 
 useful library it is--so I re-wrote the README to suit my tastes 
 (https://github.com/ddellacosta/enlive). 

 I think Chas Emerick writes much better docs than much of what 
 accompanies most Clojure libraries, but he's quite an advanced Clojure 
 developer, and he's moving very fast--so as a newbie, I had difficulty 
 even with his relatively good docs for Friend.  And I suspect you'll be 
 getting more and more folks from the web development world in the next 
 few years like me.  So it will be good to have things from the 
 perspective of someone not just trying to grok the libraries that exist, 
 but also trying to understand how Clojure works, and how the eco-system 
 fits together. 

 I've written some material on how to use Friend, including some OAuth2 
 resources.  I'd appreciate any feedback you can give, I'm pretty new to 
 Clojure (and Lisp in general). 

 In any case: 

 https://github.com/ddellacosta/friend-interactive-form-tutorial 
 https://github.com/ddellacosta/friend-oauth2-examples 
 https://github.com/ddellacosta/friend-oauth2 

 I have a bunch of other Clojure-related stuff on my github account too, 
 feedback is most welcome! 

 Cheers, 
 DD 



-- 
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