-
Notifications
You must be signed in to change notification settings - Fork 10
Battle.NET API Integration
David Martin edited this page Jan 23, 2016
·
4 revisions
This site uses the Battle.NET API, and it will need to be configured for you to run it locally.
A configured battle.net API will allow you to connect to their OAuth from the website when doing local development.
- Go to dev.battle.net and either log in or create a new account
- Once logged in, go to my account
- Go to the Applications tab
- Click Create New Application
- Your application will look like this:
Once you have a key, you can navigate to the My API Keys page on battle.net.
The next steps assume that you've set up the config.development.json
file in /server/app/config/
, and will not cover that step.
- Navigate to My API Keys on the dev.battle.net site.
- In
config.development.json
, scroll to theoauth.bnet
section. -
clientID
should have its value set to "Key" from the battle.net site. -
clientSecret
should have its value set to the "Secret" from the battle.net site.
After the site rebuilds, it should now allow authentication.