开发者

Is it possible to use OAuth/Google AuthSub with just JavaScript?

It seems very hard 开发者_Go百科or downright impossible to take advantage of them purely in JavaScript, without a server side script (like one in PHP) helping (like masking the secret key.) However, I can only use JavaScript on this project. Is it still possible to use AuthSub or OAuth?


You can't use OAuth without doing crypto in browser, but you can use AuthSub. In fact google have a client library that makes it really easy :-

http://code.google.com/apis/gdata/docs/js-authsub.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜