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

Allow connecting to Battle.net via OAuth #33

Closed
cheshire137 opened this issue Mar 6, 2017 · 0 comments
Closed

Allow connecting to Battle.net via OAuth #33

cheshire137 opened this issue Mar 6, 2017 · 0 comments
Assignees
Labels
RQ06 User signup not required RQ09 Battle.net IDs in team composition

Comments

@cheshire137
Copy link
Owner

cheshire137 commented Mar 6, 2017

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.

https://github.com/Blizzard/omniauth-bnet looks like a good gem to use with Devise; see https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview.

@cheshire137 cheshire137 added RQ06 User signup not required RQ09 Battle.net IDs in team composition labels Mar 6, 2017
@cheshire137 cheshire137 self-assigned this Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RQ06 User signup not required RQ09 Battle.net IDs in team composition
Projects
None yet
Development

No branches or pull requests

1 participant