You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Blizzard's OAuth API to allow a registered user to connect their account with Battle.net, or to allow an unregistered user to register their account via signing in with Battle.net.
I'm assuming we can get the user's Battle.net ID from this API somehow. We should verify that. If it's possible, we should auto-fill the users.battlenet field #30 with it. We should also then update any players records that have that battlenet so that their user_id is that user's.
Use Blizzard's OAuth API to allow a registered user to connect their account with Battle.net, or to allow an unregistered user to register their account via signing in with Battle.net.
I'm assuming we can get the user's Battle.net ID from this API somehow. We should verify that. If it's possible, we should auto-fill the
users.battlenet
field #30 with it. We should also then update anyplayers
records that have thatbattlenet
so that theiruser_id
is that user's.https://github.com/Blizzard/omniauth-bnet looks like a good gem to use with Devise; see https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview.
The text was updated successfully, but these errors were encountered: