2021-09-15 13:41:12 +02:00
2021-05-06 20:10:02 +02:00
2021-09-15 13:41:12 +02:00
2021-09-03 08:02:15 +02:00
2021-05-06 20:30:15 +02:00
2021-09-03 08:02:15 +02:00
2021-09-03 13:06:12 +02:00
2021-05-06 20:10:02 +02:00
2021-09-03 08:02:15 +02:00
2021-09-03 08:02:15 +02:00
2021-05-06 20:10:02 +02:00
2021-09-03 08:02:15 +02:00

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
No description provided
Readme 3.4 MiB
Languages
PHP 53.3%
Go 44.4%
Dockerfile 2.3%