{"id":20838243,"url":"https://github.com/ismaileke/minecraft-auth","last_synced_at":"2025-12-25T22:03:04.166Z","repository":{"id":254179067,"uuid":"844679462","full_name":"ismaileke/minecraft-auth","owner":"ismaileke","description":"Impersonation of Minecraft Client connecting to Microsoft \u0026 Minecraft","archived":false,"fork":false,"pushed_at":"2024-08-22T06:18:40.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-22T23:10:04.860Z","etag":null,"topics":["bedrock-edition","microsoft-auth","microsoft-authentication","minecraft-auth","oauth2-client","sisuauth"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ismaileke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-19T18:50:42.000Z","updated_at":"2024-08-22T06:18:43.000Z","dependencies_parsed_at":"2024-10-25T17:14:13.167Z","dependency_job_id":"a72888fc-3c76-49fa-8643-6d4d7fadde54","html_url":"https://github.com/ismaileke/minecraft-auth","commit_stats":null,"previous_names":["ismaileke/minecraft-auth"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaileke%2Fminecraft-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaileke%2Fminecraft-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaileke%2Fminecraft-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaileke%2Fminecraft-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ismaileke","download_url":"https://codeload.github.com/ismaileke/minecraft-auth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243196618,"owners_count":20251857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bedrock-edition","microsoft-auth","microsoft-authentication","minecraft-auth","oauth2-client","sisuauth"],"created_at":"2024-11-18T01:09:44.788Z","updated_at":"2025-12-25T22:03:04.162Z","avatar_url":"https://github.com/ismaileke.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minecraft-auth\nProvides the connections needed for the server.\n\n## Usage\n\n📄Cargo.toml\n```css\n[dependencies]\n// OpenSSL ❌ (default and recommended)\nminecraft-auth = { git = \"https://github.com/ismaileke/minecraft-auth.git\", branch = \"master\" }\n// OpenSSL ✅\nminecraft-auth = { git = \"https://github.com/ismaileke/minecraft-auth.git\", branch = \"master\", default-features = false, features = [\"openssl\"] } }\n```\n\n\n📄main.rs\n```rust\nuse minecraft_auth::bedrock;\n\n#[tokio::main]\nasync fn main() {\n    // OpenSSL ❌ (default and recommended)\n    let mut bedrock = bedrock::new(\"1.21.130\".to_string(), false); // (client version, debug mode)\n\n    bedrock.set_auth_callback(|code, url| {\n        println!(\"You can log in with the code {} at {}\", code, url);\n    });\n\n    bedrock.auth().await;\n\n    let chain = bedrock.get_chain_data();\n    let _signing_key = bedrock.get_signing_key_384().unwrap(); // When sending the Login Packet, we will need this\n    let signed_token = bedrock.get_signed_token(); // When sending the Login Packet, we will need this\n\n    println!(\"Chain 1: {}\\n\\nChain 2: {}\\n\\nSigned Token: {:?}\", chain[0], chain[1]);\n    \n    // OpenSSL ✅\n    let mut bedrock = bedrock::new(\"1.21.130\".to_string(), false); // (client version, debug mode)\n\n    bedrock.set_auth_callback(|code, url| { // If you want to use the code and link and do something:\n        println!(\"You can log in with the code {} at {}\", code, url);\n    });\n\n    bedrock.auth().await;\n\n    let chain = bedrock.get_chain_data();\n    let ec_key = bedrock.get_ec_key().unwrap(); // When sending the Login Packet, we will need this\n    let signed_token = bedrock.get_signed_token(); // When sending the Login Packet, we will need this\n    println!(\"Chain 1: {}\\nChain 2: {}\", chain[0], chain[1]);\n    \n}\n```\n\n\n\n## 📍 NOTE\nOnly Bedrock support for now\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaileke%2Fminecraft-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fismaileke%2Fminecraft-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaileke%2Fminecraft-auth/lists"}