Skip to content

Commit

Permalink
identity was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
kolov committed Apr 23, 2015
1 parent 0ca7bea commit c876000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/friend_oauth2_google_demo/core.clj
Expand Up @@ -53,7 +53,7 @@
resp (client/get (str "https://www.googleapis.com/plus/v1/people/me?access_token=" (:access-token token)))
data (-> resp :body (json/read-str :key-fn keyword))]

{:identity data :roles #{::user}}))
{:identity (:id data) :roles #{::user}}))

(def uri-config
{:authentication-uri {:url "https://accounts.google.com/o/oauth2/auth"
Expand Down

0 comments on commit c876000

Please sign in to comment.