OpenID authentication code all in JS?
I need to add OpenID authentication to my application. Can I actually have whole code in JS (i mean sending messages to OP and stuff?) or do i have to use some other language to write OpenID server code in? I was looking for e开发者_Python百科ntirely JS solutions but I cannot find any.
I don't see why not, but this is probably a really bad idea since you will be storing authentication tokens and all kinds of stuff in there you wouldn't want exposed.
精彩评论