English 中文(简体)
OAuth:帮助我理解OAuth
原标题:OAuth : help me understanding OAuth

OAuth就像谷歌OAuth。让我们把Consumer服务器和OAuth服务器之间的通信放在一边。让我们来谈谈浏览器端和消费者服务器的通信,至少,浏览器必须持有cookie来识别消费者服务器之间的会话。正确的但是,我没有看到。

最佳回答

你的问题是如何将用户在OAuth之前所做的事情链接到之后?如果是这样,那就由你来做了。在web服务器流中,用户最终会被重定向回消费者服务器,并使用来自OAuth服务器的令牌。此重定向将导致向使用者发送HTTP GET。之前(由消费者服务器)设置的任何cookie仍将被发送,这使您可以将OAUth身份映射到您的本地用户概念。

问题回答

如果你想了解如何实现Oauth,那么你可以查看我在Laravel 5-https://youtu.be/0vGXbWdtjls





相关问题
How to suppress/remove PHP session cookie

I need to suppress an already set session cookie header, but I cannot find any way to do this. Why? I need to make an image, sent by a PHP script, cacheable by the end user; this image is used to ...

Remove Cookies from JS or CSS files

Bizarrely my javascript and css files have cookies (says Firebug). I use Zend Framework and I think it has to do with it. Could I change the .htaccess that CSS or JS files don t link to the ZF or is ...

httplib2, how to set more than one cookie?

As you are probably aware, more often than not, an HTTP server will send more than just a session_id cookie; however, httplib2 handles cookies with a dictionary, like this: response, content = http....

cookies control

what tool wold you recommend me to use in order to see what data are stored in my cookies while i m browsing the net. I m a beginner into webdev field(6 months php experience) and i m curious to see ...

热门标签