user956274
user956274

Reputation: 1

how to fetch ID from other site?

Just let me know how one site fetch Logged in ID of other site? e.g. If i already logged-in in Gmail,then how any other site fetch gmail email ID into their user name textbox?

Thanks

Upvotes: 0

Views: 65

Answers (2)

Clement Herreman
Clement Herreman

Reputation: 10536

Such behavior is obtained via a common loggin system. On Gmail a lot other (like StackOverflow), they use OpenID, some other uses OAuth like Twitter.

But, I don't know if you're allowed to access user's data, like your their Gmail address. I've never used OpenID before.

Upvotes: 2

Rijk
Rijk

Reputation: 11301

This would only be possible if Gmail had an API for it. You can't read an other domain's cookies, for security reasons.

Upvotes: 2

Related Questions