Re: Using OAuth2 to call one web app from another

2016-06-20 Thread jmckitrick
It would be great if you'd upload it to clojars. I'll start working with it immediately after that, and hopefully it will do the trick. On Mon, Jun 20, 2016 at 8:53 PM wrote: > Great! I'll give it a try! > > On Mon, Jun 20, 2016 at 8:51 PM Karl Blomström > wrote: > >> Hi Jonathon! I am working

Re: Using OAuth2 to call one web app from another

2016-06-20 Thread jmckitrick
Great! I'll give it a try! On Mon, Jun 20, 2016 at 8:51 PM Karl Blomström wrote: > 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/

Re: Using OAuth2 to call one web app from another

2016-06-20 Thread Karl Blomström
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 t

Re: Using OAuth2 to call one web app from another

2016-06-20 Thread Jonathon McKitrick
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-tok

Re: Using OAuth2 to call one web app from another

2016-06-20 Thread Denis Laprise
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

Using OAuth2 to call one web app from another

2016-06-20 Thread Jonathon McKitrick
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 a