Users should also be able to authenticate using my site credentials OR 
Linkedins. I thought friend-oauth would be useful to allow the Linkedin 
authentication.

I am a little lost on where to start. I could start from my own auth and 
then add Linkedin to it with friend, or start with friend and add my own 
auth service around it.

On Monday, December 15, 2014 11:42:36 AM UTC+1, David Della Costa wrote:
>
> I'm a bit confused--if you are building your own oauth2 server (correct 
> me if I misunderstood--you want users to use oauth2 to authenticate 
> against your own service?), what purpose does a Friend workflow have in 
> this context?  Seems like you could skip Friend altogether. 
>
> DD 
>
> (2014/12/15 17:40), Sebastian Bensusan wrote: 
> > Hi Dave, 
> > 
> > I am planning to use friend-oauth2 to handle "third party workflows". It 
> > is exactly what I need to consume third party oauth services, but from 
> > what I understood from the source code, it doesn't help me offer my own 
> > oauth service. I'm struggling with the design for an oauth service that 
> > integrates directly with friend. 
> > 
> > Thanks for your answer! 
> > 
> > Sebastian 
> > 
> > On Monday, December 15, 2014 6:58:55 AM UTC+1, David Della Costa wrote: 
> > 
> >     You could also take a look at friend-oauth2 if you are using it in 
> the 
> >     context of Friend--if it doesn't work for you for some reason I'd 
> like 
> >     to know why, as I'd like it to be able to handle this use-case. 
> > 
> >     https://github.com/ddellacosta/friend-oauth2 
> >     <https://github.com/ddellacosta/friend-oauth2> 
> > 
> >     Thanks! 
> > 
> >     DD 
> > 
> >     (2014/12/15 3:08), Sebastian Bensusan wrote: 
> >     > 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 <
> https://github.com/pelle/clauth> 
> >     > [2] 
> >     
> http://sritchie.github.io/2014/01/17/api-authentication-with-liberator-and-friend/
>  
> >     <
> 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 clo...@googlegroups.com 
> >     <javascript:> 
> >     > Note that posts from new members are moderated - please be patient 
> >     with 
> >     > your first post. 
> >     > To unsubscribe from this group, send email to 
> >     > clojure+u...@googlegroups.com <javascript:> 
> >     > For more options, visit this group at 
> >     > http://groups.google.com/group/clojure?hl=en 
> >     <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+u...@googlegroups.com <javascript:> 
> >     > <mailto:clojure+u...@googlegroups.com <javascript:>>. 
> >     > For more options, visit https://groups.google.com/d/optout 
> >     <https://groups.google.com/d/optout>. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Clojure" group. 
> > To post to this group, send email to clo...@googlegroups.com 
> <javascript:> 
> > Note that posts from new members are moderated - please be patient with 
> > your first post. 
> > To unsubscribe from this group, send email to 
> > clojure+u...@googlegroups.com <javascript:> 
> > 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+u...@googlegroups.com <javascript:> 
> > <mailto:clojure+u...@googlegroups.com <javascript:>>. 
> > For more options, visit https://groups.google.com/d/optout. 
>

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