How do StackExchange sites associate user accounts and OpenID logins?

后端 未结 1 749
失恋的感觉
失恋的感觉 2021-02-06 14:45

I love StackExhchange / StackOverflow\'s approach to integrating OpenID.

As I understand it, the process goes something like this:

  • If a user signs up with
1条回答
  •  被撕碎了的回忆
    2021-02-06 15:43

    The StackExchange sites use the DotNetOpenAuth library (previously known as DotNetOpenId library).

    You basically need a User table and a User_OpenID table with a one-to-many relationship. Scot Hanselman has a good basic article or try a more in depth overview

    0 讨论(0)
提交回复
热议问题