Discover Packages
github.com/seanpfeifer/bnet-id
module
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: May 11, 2025
License: MIT
Opens a new window with license information.
README
README
¶
bnet-id
What's my BNet ID?
Running
Via Docker:
docker run --name="bnet" -p 8080:8080 -v ./secrets:/secrets ghcr.io/seanpfeifer/bnet-id:latest
Locally for development:
go run ./cmd/server
Building
Via Docker
docker build -t bnet-id:latest .
Setup
Ensure you have a secrets
directory with secret.toml
in it with the following format:
clientID = "CLIENT_ID_HERE"
clientSecret = "CLIENT_SECRET_HERE"
redirectURL = "https://YOUR_SITE_HERE/oauthCallback"
Your clientID and clientSecret can be found at Battle.net's API Access portal . You will also need to configure the associated client to have the redirectURL that you will be using in your application.
Expand ▾
Collapse ▴
Directories
¶
cmd
Click to show internal directories.
Click to hide internal directories.