clj-oauth2 icon indicating copy to clipboard operation
clj-oauth2 copied to clipboard

not sure how use it with google

Open cocodrino opened this issue 10 years ago • 0 comments

Hi..sorry for my noob question...but, maybe for my bad english, I can't understand what is exactly auth-resp

just now my code is

(def google-oauth
  {:authorization-uri  "https://accounts.google.com/o/oauth2/auth"
   :access-token  "I-9qsYxxxxxxml_DtJj"
   :redirect-uri   "http://127.0.0.1:8080/oauth2callback"
   :client_id     "5401407xxxxxxxxcm5lnj71pjldkhs.apps.googleusercontent.com"
   :scope  ["userinfo.email"]})

(def auth-req
  (oauth/make-auth-request google-oauth "??"))

(def access-token
  (oauth/get-access-token google-oauth ?? auth-req))


hope you can help me..thanks!!!..

cocodrino avatar Feb 07 '15 05:02 cocodrino