Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用一個帳戶 (Google) 登入,綁定另一個帳戶 (github) 時可能會出錯 #26

Open
siuying opened this issue Nov 29, 2011 · 0 comments

Comments

@siuying
Copy link

siuying commented Nov 29, 2011

就如 Issue #24 裡描述的情況,在某些不明的原因下用戶可能綁定到錯誤的帳戶上。

這裡的問題:

  • Authorization 的 [uid, provider] 不是 unique ,所以有一個 user 有兩組 github authorization 的情況
  • 在某情況下 omniauth 把 github 的綁定加到另一個用戶,而不是正確的用戶之上
  • 為甚麼 user.email 會是 nil?

這裡可能是應該加 unit test 確認的地方了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant