auth now actually works straight through google
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
|
||||
(defn ^:export init []
|
||||
(dev-setup)
|
||||
(when-let [jwt (.get (js/URLSearchParams. (.-search (.-location js/window))) "jwt")]
|
||||
(println "got jwt" jwt)
|
||||
(.setItem js/localStorage "jwt" jwt))
|
||||
(pushy/start! (pushy/pushy dispatch-route parse-url))
|
||||
(re-frame/dispatch-sync [::events/initialize-db])
|
||||
(mount-root))
|
||||
|
||||
Reference in New Issue
Block a user