Ask Your Question
1

Google openID not working after SE migration

asked 2012-12-09 10:20:38 -0500

mornaner's avatar

updated 2012-12-09 10:27:05 -0500

Evgeny's avatar

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?

edit retag flag offensive 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 -0500 )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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-12-09 10:25:59 -0500

Evgeny's avatar

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

edit flag offensive delete link more

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-12-09 10:20:38 -0500

Seen: 322 times

Last updated: Dec 09 '12