intridea/omniauth — Issue #519: No Uid for Strategy tqq.rb
Author: utensil
Created: 2011-10-22 15:47:52+00:00
State: open

In oa-oauth/lib/omniauth/strategies/tqq.rb:

def auth_hash
OmniAuth::Utils.deep_merge(super, {
'uid' => user_hash["data"]['uid'],
'user_info' => user_info,
'extra' => {'user_hash' => user_hash}
})
end

Based on my test, user_hash["data"]['uid'] is no longer returned.

I guess there's no solution for the time being except that if we accept using the username field(user_hash["data"]['name']), which is unique for t.qq.com.

Just marking it, see if it will be further comfirmed.