Login with Gitlab

This commit is contained in:
Vitaly Kornilov 2020-08-24 13:24:36 +03:00 committed by Andrey Antukh
parent dcd7e0b3cc
commit cc1353300e
9 changed files with 207 additions and 1 deletions

View file

@ -71,6 +71,12 @@
(->> (http/send! {:method :post :uri uri})
(rx/mapcat handle-response))))
(defmethod mutation :login-with-gitlab
[id params]
(let [uri (str cfg/public-uri "/api/oauth/gitlab")]
(->> (http/send! {:method :post :uri uri})
(rx/mapcat handle-response))))
(defmethod mutation :upload-media-object
[id params]
(let [form (js/FormData.)]