I'm probably missing something obvious, but from the readme example:
(ns my.app
(:require [compojure.core :as c]
[compojure.handler :as h] handler
[hiccup.page :as p]
[persona-kit.core :as i]))
;; On your login page, use include-persona to bring in persona resources,
;; sign-in-button to show the login button.
(c/defroutes app-routes
(c/GET "/" [] (p/html5 [:head
[:title "Login page"]
(i/include-persona)]
[:body (i/sign-in-button)])))
How are you getting persona-kit.core to have the cljs functions? Only persona-kit.core/valid? and persona-kit.core/verify-assertion are available to me.
I'm probably missing something obvious, but from the readme example:
How are you getting persona-kit.core to have the cljs functions? Only
persona-kit.core/valid?andpersona-kit.core/verify-assertionare available to me.