[ClojureScript] Re: Authentication for AJAX calls

2014-08-17 Thread Jonathon McKitrick
On Friday, August 15, 2014 5:25:03 PM UTC-4, Tobias Quinn wrote: I've used Friend for a single page app. It serves the main page to anyone and has a route that can issue a json web token (jwt) using http basic authentication. I used clj-jwt to generate the token. Then, the api routes

[ClojureScript] Re: Authentication for AJAX calls

2014-08-15 Thread Tobias Quinn
I've used Friend for a single page app. It serves the main page to anyone and has a route that can issue a json web token (jwt) using http basic authentication. I used clj-jwt to generate the token. Then, the api routes required by the app are authenticated using the jwt in the authorization