Welcome to the wonderful world of Clojure and we're glad to have you!
It appears you are trying to authenticate using Google's OAuth library and
are currently using the google-apps-clj
You have to either keep a reference to the return value of reading in the
config file that you can pass as the first argument to the function
google-apps-clj.credentials/get-auth-map or just pass (edn/read-string
(slurp "config/google-creds.edn")) as the first argument directly.
While I haven't used the library myself, here's how I would do steps 8, 9
and 10 in the REPL -
(let [config "config/google-creds.edn"
creds (edn/read-string (slurp config))
auth-map (google-apps-clj.credentials/get-auth-map creds scopes)
updated-creds (assoc creds :auth-map auth-map)]
(spit config (pr-str updated-creds))
I haven't tried this so forgive any typos, but it should give you the
I hope this helps and feel free to post any follow up questions you may
Alpeware LLC - 548 Market St #35286, San Francisco, CA 94104 - +1 415 200
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to firstname.lastname@example.org
Note that posts from new members are moderated - please be patient with your
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.