android - Multiple Identity Provider Login OAuth/Open ID -


there mobile applications such games allow user register , log in using google, facebook, or own server. after logging in using third party provider, seem able store user information such game progress server means can associate third party accounts user profile database. how people typically this?

i using identity server main identity provider. uses asp.net identity manage users. have android application uses resource owner grant authorization token identity server. new user can register new account going site identity server hosted.

now want add button login via google or facebook within android application. when user logs in via google or facebook, user information should retrieved , registration form within android app show fields automatically filled based on user information third party providers. user can register using detail , save user identity server identifier that google or facebook account. asp.net identity site mobile.

i believe can have button allows user log in using third party identity server such facebook, google. thing wondering not sure if able make them register using username , password.

the flow can think of is:

  • give user option of logging in facebook, google etc.
  • user redirected login page third party services.
  • when log in receive token facebook have claims user , can claims transformation , assign token user.
  • using same token can have data stored in database related user.
  • so in database have 2 tokens, 1 facebook , other 1 have own app.
  • the option can give log in using facebook. maintaining information identity server provides can register user on end directly user don't have register himself.

Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -