Hi Jonathon! I am working on a client library for retrieving oauth2 tokens.
Have a look here: https://github.com/blmstrm/loudmoauth and here for
example usage:
https://github.com/blmstrm/loudmoauth-examples/blob/master/src/loudmoauth_examples/core.clj

The library is not polished yet but it seems to work (fingers crossed).

Maybe it can give you some inspiration or you might find it useful.

I am not at my development machine now but I can upload the latest version
to clojars tomorrow and at the same time expand the readme.

Regards,

Blmstrm
Den 21 juni 2016 9:34 fm skrev "Jonathon McKitrick" <jmckitr...@gmail.com>:

> Right! But what's the easiest way to do the initial handshake with the
> public/private bits to *get* the token?
>
> On Monday, June 20, 2016 at 8:13:49 PM UTC-4, Denis Laprise wrote:
>>
>> You can pass the OAuth token in the request options if you're using
>> httpkit or clj-http (both use the :oauth-token parameter).
>>
>>
>> On Monday, June 20, 2016 at 4:30:32 PM UTC-7, Jonathon McKitrick wrote:
>>>
>>> I'm looking for the simplest way possible to get OAuth2 working so I can
>>> call an API which has recently switched from username/password to OAuth2.
>>>
>>> Any suggestions? Most of what I've found so far is server implemenation,
>>> rather than web app to web app.
>>>
>>> --
> 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.
>

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