This commit is contained in:
flynn 2019-02-13 23:57:06 +01:00
parent 67abe2c28c
commit 0e42c37223
2 changed files with 5 additions and 5 deletions

Binary file not shown.

View file

@ -8,11 +8,11 @@
; Inspired by https://leonid.shevtsov.me/post/oauth2-is-easy/ ; Inspired by https://leonid.shevtsov.me/post/oauth2-is-easy/
(defn- oauth2-params [] (defn- oauth2-params []
{:client-id (env :oauth-consumer-key) {:client-id (env :oauth_consumer_key)
:client-secret (env :oauth-consumer-secret) :client-secret (env :oauth_consumer_secret)
:authorize-uri (env :authorize-uri) :authorize-uri (env :authorize_uri)
:redirect-uri (str (env :app-host) "/oauth/oauth-callback") :redirect_uri (str (env :app-host) "/oauth/oauth-callback")
:access-token-uri (env :access-token-uri) :access-token-uri (env :access_token_uri)
;:scope "activity profile" ;:scope "activity profile"
}) })