2021-05-15 11:18:04 +02:00
2019-12-03 08:14:30 +01:00
2021-05-15 11:18:04 +02:00
2021-05-06 20:03:51 +02:00
2021-05-06 20:03:51 +02:00
2021-05-06 20:03:51 +02:00
2019-08-15 10:19:25 +02:00

Authorization mod for minetest

To be used with https://github.com/minetest-auth-proxy/auth_proxy_app

Overview

Lets third-party apps query username and password of ingame players

Installing

compatibility

If xban2 is available, the banned flag on the xban-database is additionally checked on login

API

Custom auth handler

Additional checks besides the user/password can be implemented with a custom handler function

Example: require a priv to login:

auth_proxy.custom_handler = function(name)
  if minetest.check_player_privs(name, "mypriv") then
    return true
  else
    return false, "Missing priv: 'mypriv'"
  end
end

minetest.conf

Example usage:

secure.http_mods = auth_proxy_mod
auth_proxy.url = http://127.0.0.1:8080
Description
No description provided
Readme 215 KiB
Languages
Lua 100%