external authentication from BD?

cesarpachon
Member
 
Posts: 11
Joined: Sat Nov 22, 2014 04:00
GitHub: cesarpachon
IRC: hydalgo
In-game: hydalgo

external authentication from BD?

by cesarpachon » Sun Dec 28, 2014 00:17

I wonder if it is possible to configure a minetest server to perform authentication using some external system, like a BD or a REST endpoint instead of the auth file?
just a digital hermit
http://www.cesarpachon.com
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: external authentication from BD?

by kaeza » Sun Dec 28, 2014 00:31

This and this may give you a starting point.

As to how to connect/query/whatever the authentication backend, you will need to code a dynamic lib (.dll/.so) exposing the low-level functionality to be loaded from Lua, and code the high-level layer directly in Lua. I'll leave the googling to you on how to do that.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 18 guests

cron