This isnt technically oauth but oh well.
Compatible with Minecraft Client 1.7.X to 1.14.X and further through ViaVersion.
This server and plugin are meant to verify that an mc user exists and is valid.
Inspired by https://mc-oauth.net/. Head over to their description, seriously its a lot better.
We include a Docker setup out of the box with no configuration needed so you can just deploy this and forget about it.
docker-compose.ymlto your likings for the port mappings.
docker-compose up -din the project root.
curl -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
spigot.jarin version 1.8.X (here 1.8.8 but any will work fine)
java -Xmx1024M -jar BuildTools.jar --rev 1.8.8
mvn package(project at
go get github.com/gorilla/mux
go build server.go
java -jar spigot-1.8.jar
Server will per default attach to port 80 (please use port forwarding in production).
MIT © Felix Soederhuyzen