I've applied Friend to my page authentication with great success, but I'm not
sure how to do the same with my AJAX API calls. Obviously, you don't want to
pass cleartext credentials around.
What have you all used in this case?
--
Note that posts from new members are moderated - please be
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
Thank you for testing my code.
I have checked my code, however it looks no paren problem.
I begin to suspect my environment. I am using react 1.11.1 and
om 0.7.1. I also run to check my code using js stepping debugger but
it takes time.
Thanks,
Makoto
I just tried out your gist and it worked