clj-oauth2
clj-oauth2 copied to clipboard
not sure how use it with google
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!!!..