Browser-id (Persona) now working on github

15 views
Skip to first unread message

Nick Bauman

unread,
May 7, 2012, 10:58:17 PM5/7/12
to cloj...@googlegroups.com
Hello friendly clojurans that came to our last meeting!

I completed the browser-id implementation we started together at the
last session using jayq, crate, fetch and noir! I did not implement
the logout feature. I figure this can be left as an exercise to the
group, if we want to do that.

I will also say that the fetch and crate are simply amazing. Still
blows my mind how easy web 2.0 ajax/ahah are done with those two
tools: it feels like you're seamlessly working in native clojure on
both ends. Jayq is a little odd since you're effectively proxying
through cljs to jquery everywhere...

Thanks everyone! Especially to Tom and Dan for helping me work on this
in my spare time.

The implementation can be found here:

https://github.com/tmarble/nongrata

You should be able to check it out and run:

lein clean, deps, compile, cljsbuild once, run

And visit:

http://localhost:11300/login

Clicking on the sign-in image should do the dance with browserid.org.
Once you sign in, refresing the page should detect an authenticated
sign-in. It could use a little polish, which I might do in the next
few days. Then maybe Dan can "approve" it.

Cheers,

Nick
Reply all
Reply to author
Forward
0 new messages