Authorization proxy app for minetest
To be used with https://github.com/minetest-auth-proxy/auth_proxy_mod
Overview
Lets third-party apps query username and password of ingame players
Docker
Run with docker:
docker run --rm -it -p 8080:8080 minetestauth/minetest-auth-proxy
Implementations
Mediawiki
Thanks to gpcf (linuxforks) for his partial Mediawiki implementation!
See the folder: mediawiki
cURL
curl -X POST -H 'Content-Type: application/json' -i 'http://127.0.0.1:8080/api/login' --data '{"username":"test","password":"enter"}'
Returns
On success:
{"success": true, "message": null}
On failure:
{"success": false, "message": "Banned!"}
Or just:
{"success": false, "message": ""}
Building / Running
A Dockerfile
is included for container usage.
Otherwise just go run .
(needs a working go installation)
Description
Languages
PHP
53.3%
Go
44.4%
Dockerfile
2.3%