开发者

How is the user authentication with Google accounts working inside the GAE technically

开发者 https://www.devze.com 2023-04-11 21:16 出处:网络
Applications that run inside the Google App Engine can use Google Accounts for user authentication. I already used this feature and it works great. I just want to know how this is working. I开发者_Go百

Applications that run inside the Google App Engine can use Google Accounts for user authentication. I already used this feature and it works great. I just want to know how this is working. I开发者_Go百科s there a HTTP cookie created? How can an application inside the GAE see that a user is logged in?


The AppEngine SDK takes care of the details for you, but essentially it generates the equivalent of an OAuth request to the Google Account service. All interactions with the login process go through the Google Account service (and thus the cookies it uses for session tracking are not available to the individual app).

0

精彩评论

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