bnet-id

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2025 License: MIT

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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL