Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

nodejs 社交登录的一些问题

使用express框架做的web,在使用weibo社交登录的时候,想到一个问题。

向新浪微博社交接口,发出获取access_token以后,社交接口会回调nodejs提供的url。在回调的时候,session应该是服务器与新浪微博社交接口的session吧?但是,我得到的session,还是当前访问网站用户的session。是不是用户打开浏览器,点击微博登录按钮以后,页面跳转到微博的页面,这过程中,微博的服务器访问(回调)nodejs服务器,request里面会带着用户的cookie?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...