First time here? Check out the FAQ!
1

Google openID not working after SE migration

I'm testing the migration process of a StackExchange site. Everything went OK and the site is migrated. However, when I try to login with my Google account it tries to create a new user instead of loging me in with my username. I've tried to login with other openID providers and everything is ok.

What could be the problem with this?

mornaner's avatar
109
mornaner
asked 2012-12-09 10:20:38 -0600
Evgeny's avatar
13.2k
Evgeny
updated 2012-12-09 10:27:05 -0600
edit flag offensive 0 remove flag close merge delete

Comments

1

Glad you were able to migrate the site. Did you have to make any fixes in the migration code?

Evgeny's avatar Evgeny (2012-12-09 10:26:35 -0600) edit

I only did one little change. The one that appeared in this question: http://askbot.org/en/question/9519/atributeerror-when-importing-users-from-se-dump/

I added the code to skip the user if user_type= None

mornaner's avatar mornaner (2012-12-10 13:30:52 -0600) edit
add a comment see more comments

1 Answer

2

Google OpenID's are specific to the domain name, if your migrated site is hosted on a different domain, those openids won't work.

Evgeny's avatar
13.2k
Evgeny
answered 2012-12-09 10:25:59 -0600
edit flag offensive 0 remove flag delete link

Comments

Yeah, we did test on a different domain (beta.draw3cards.com when the original site is draw3cards.com). However, I changed my local hosts file to point draw3cards.com to the IP of beta.draw3cards.com, and tried to login, and it still didn't work. This _could_ be because of something wrong on Google end, and might resolve itself when we do the actual migration...

ripper234's avatar ripper234 (2012-12-09 12:22:54 -0600) edit
add a comment see more comments