Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

oAuth2 Clojure or ClojureScript?

Hello, has anyone worked with oAuth2 using Clojure or Clojurescript? The only source to this I found is this. But there is no nuance when it comes to the implementation. http://leonid.shevtsov.me/en/oauth2-is-easy

 

Thanks in advance.

Best Answer
0 Votes
2 REPLIES 2

I've used https://github.com/r0man/oauth-clj for OAuth 1, and it worked fine.  There is a `v2` namespace, but I can't vouch for its correctness.

 

However, the post you linked to seems fairly complete, I'm not sure what you mean by "no nuance".  If you have any specific questions about it, maybe I can answer them.

Best Answer

As in do I make a new namespace copy the code and add my app key etc... Do I have the correct dependencys? And where should I call the function.

If we take this as a skeleton app http://www.javacodegeeks.com/2015/09/clojure-web-development-state-of-the-art.html 

 

Where would I call the function. is it as simple as just adding a route? (GET "/fitbitapitest" [] (get-user-info)) ?

Best Answer
0 Votes