Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

BuckarooBanzay/auth_proxy_mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Mintest mod pendant for the auth_proxy_app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages