[英]Retrieving cookies from google using PHP/CURL
I'm trying to create a script that allows users to login once (using same username & password on the domain) so that they can access the portal and gmail, instead of signing in twice (one to the portal & the other to their gmail). 我正在尝试创建一个脚本,该脚本允许用户登录一次(在域上使用相同的用户名和密码),以便他们可以访问门户和gmail,而不是登录两次(一个登录到门户,另一个登录到gmail) )。
I have been trying to retrieve cookies from the gmail but having no luck. 我一直在尝试从gmail检索cookie,但是没有运气。 Has anyone attempted this before with success?
有人尝试过成功吗?
Please let me know, thanks 请让我知道,谢谢
Use Google Accounts Authentication and Authorization . 使用Google帐户身份验证和授权 。
Ah PHP library is available. 可以使用PHP库 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.