This project is a Rust server implementation of the Minecraft Yggdrasil API.
Implements authlib-injector
It provides endpoints for user authentication, session management, and profile handling.
- User authentication
- Session management
- Profile handling
- RSA key generation and signing
- Configurable via config files
- Rust and Cargo installed
- PostgreSQL installed (You have to change the code to use another database)
-
Clone the repository:
git clone https://github.com/zrll12/yggdrasil-apirs.git cd yggdrasil-apirs
-
Build the project:
cargo build --release
Then binary files may be found in the
target/release
directory.
- Start by running the binary file. This will generate all the necessary files
- Edit configs under
config
directory. Check the wiki for more information - Add a authenticate source to you launcher. Endpoints are the root of the server
- Add authlib-injector or MultiLogin to your server. (Config for MultiLogin is here: yggdrasil.yml)