This repository contains sample applications which demonstrate connecting to Battle.net using the OAuth 2.0 authentication standard.
If you would like to see more examples, please create an issue.
Information about creating OAuth clients and integrating with Battle.net APIs can be found on the Battle.net Developer Portal.
Here is a quick rundown on creating an OAuth client to get started with the samples located here.
- Go to the Battle.net Developer Portal
- Log into your Battle.net account, or create a free account.
- Click on API Access at the top, or Create Clients
- Click Create Client
- Fill out your client information. You can always go back and change this later.
- Setup Redirect URIs (for these samples, use
https://localhost:8080
andhttp://localhost:8080
) - After creating your client, make note of your client ID and secret.
If you are looking for help, check out our Getting Started Guide, the Using OAuth Guide, or head over to the Developer Forums. Feel free to create issues, submit pull requests, offer suggestions, or submit feature requirements. We also have a Discord server. Use the link at the top to join.