Print OAuth access token to logs

This commit is contained in:
Vitaliy Vlasov 2018-02-26 16:54:38 +02:00 committed by Tetiana Churikova
parent f80e1ad000
commit 3eede3ac93

View File

@ -39,6 +39,7 @@
body (keywordize-keys (codec/form-decode (:body resp)))
scope (:scope body)
access-token (:access_token body)]
(log/info "access-token:" access-token)
(log/debug "github sign-in callback, response body:" body)
(if (:error body)
;; Why does Mist browser sends two redirects at the same time? The latter results in 401 error.