开发者

auto login google docs

开发者 https://www.devze.com 2023-01-20 03:15 出处:网络
Situation: Users can access their google docs by an external link on a website. Now they first have to login to view their documents.

Situation: Users can access their google docs by an external link on a website. Now they first have to login to view their documents.

Problem: I want that the users automaticly login on Google Docs

I've the username and password stored in a dabasase..

What is the 开发者_运维知识库best way to solve this problem?


There is no good way to solve this. You could fake a login programmatically, but that would work only to fetch a document, not to really log in the client. Plus it's really not a good idea to have a database with peoples' Google logins lying around, especially seeing as the passwords have to be unencrypted.

I would leave it up to the user to store their Google password in the local browser.

0

精彩评论

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

关注公众号