Hi Plínio, Thanks for the question. I considered writing Ring handlers for Qarth, but since most people would either use Friend or have custom Ring handlers anyway, the advantage was unclear. However, Qarth was written s.t. a small set of auth-related methods can be adapted to any OAuth provider. This lets you write "OAuth agnostic" code if you don't want to use Friend.
Before I wrote Qarth, I asked around Clojure users how they handeld OAuth, and a lot of them wrote OAuth handling code by themselves. This didn't seem efficient since most people just wanted to do the same thing with OAuth--log in users and get a token to make requests. However, differences between OAuth providers made code reuse difficult, despite a few attempts at fixing the situation. This is the wheel I hope doesn't have to be reinvented. Mike On Friday, July 25, 2014 8:16:44 AM UTC-5, Plinio Balduino wrote: > > Hi, Fred > > I never used Friend and I don't have parameters to compare so, why Qarth? > > I didn't get the "Qarth's goal is to fix the problem of Ring/Compojure > and/or Friend apps reinventing the wheel for OAuth." explanation. > > Regards > > Plínio > > > On Fri, Jul 25, 2014 at 3:47 AM, Robin Heggelund Hansen < > skinn...@gmail.com <javascript:>> wrote: > >> I was just looking for a OAuth library, this looks great! >> >> kl. 19:15:11 UTC+2 torsdag 24. juli 2014 skrev Mike Thvedt følgende: >>> >>> Qarth is a simple interface to OAuth. Qarth's goal is to fix the problem >>> of Ring/Compojure and/or Friend apps reinventing the wheel for OAuth. >>> >>> Qarth features zero-effort Friend integration. The interactive auth flow >>> in "friendless" Qarth is two or three lines of code plus configuration. All >>> OAuth providers use the same interface, so that you can swap providers or >>> use "multi" providers (i.e. login with Facebook or Github) with little >>> additional effort. >>> >>> Qarth comes with out-of-the-box support for Facebook, Github, Twitter, >>> Google, and Yahoo!, and generic support for OAuth v2 and Scribe-Java. >>> >>> https://github.com/mthvedt/qarth >>> >>> Qarth is brand new, so please let me know about any issues or rough >>> edges you encounter. >>> >>> --Mike >>> mike....@gmail.com >>> >> -- >> 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:>. >> 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.