Why does the ID of Google's OpenID implementation change?
Posted
by Andrea
on Stack Overflow
See other posts from Stack Overflow
or by Andrea
Published on 2010-04-21T16:10:40Z
Indexed on
2010/04/21
16:33 UTC
Read the original article
Hit count: 351
I'm trying to implement OpenId login for a web application. Whenever new user who logs in via OpenId I create a new user on the sustem, and among the data I store their openid URL, so that next time they login with that user.
I'm testing this with my Gmail OpenID, and the problem is that everytime I do this, Google sends a different openid URL, that is, https://www.google.com/accounts/o8/id?id=SomethingThatChangesFromTimeToTime
Of course I'm then not able to tell wheter this is or not a new user. I'm a bit puzzled: shouldn't the openid identifier always remain the same?
© Stack Overflow or respective owner