OpenID: How to best associated Multiple OpenID Accounts to one User?

后端 未结 4 1841
陌清茗
陌清茗 2021-02-05 06:24

I am a newbie in openID. I spend a lot of time thinking what the best-practices are to give the user the choice, to login with various OpenID enabled accounts.

(I have

4条回答
  •  花落未央
    2021-02-05 07:00

    Yes, the user will have to login with both.

    1. User logs in for the first time with Google Account, uses the app and logs out. App creates an internal user login (in grombeestje's table user) and associates it with the Google Account. (in grombeestje's table openid)
    2. Later, user has logged in Yahoo and logs in again with Yahoo Account. Now user is offered a step to identify with other services as well
      • a. Users opts in and selects Google account.
      • b. User logs in with Google account.
      • c. Application appends the Google id with the Current login.

    Also, anytime when user wishes he can choose to add logins to his profile and identify his/her other openIDs like Blogger, Facebook etc. If he has created different logins (in grombeestje's table user) with these accounts then he can either drop one of the local logins (in grombeestje's table user) with the app or merge them into one.

提交回复
热议问题