Hi Sebastian,
Are you using stuartsierra/component library? If you are, take a look at 
juxt/cylon <https://github.com/juxt/cylon> that in a component way offers 
Oauth2 (client and provider). opensensors.io have been the first adopters 
of this security cylon feature as you can find on the README.
I worked on the implementation so maybe I can help you on adopting OAuth2 
too 

Cheers
Juan

El domingo, 14 de diciembre de 2014 18:08:58 UTC, Sebastian Bensusan 
escribió:
>
> Hi,
>
> I am writing a Single Page Application using Om that communicates via XHR 
> with a REST API using compojure + liberator. I should be able to 
> authenticate users by using email & password credentials or third party 
> Oauth2 like Linkedin's. I
>
> My plan is: use clauth [1] to roll my own oauth2, package it as a friend 
> credential-fn/workflow, and then wrap the liberator api with friend [2]  and 
> the third parties workflows.
>
> Anybody has any pointers on how to do this? It is a complex solution but I 
> have no ideas on how to simplify it. 
>
> Thanks for your time!
>
> Sebastian
>
> [1] https://github.com/pelle/clauth
> [2] 
> http://sritchie.github.io/2014/01/17/api-authentication-with-liberator-and-friend/
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to