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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
mornaner's avatar
109
mornaner
asked 12 years ago
Evgeny's avatar
13.2k
Evgeny
updated 12 years ago

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 (12 years ago)

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 (12 years ago)
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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
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 (12 years ago)
see more comments