{"id":19653273,"url":"https://github.com/florianmichael/waybackauthlib","last_synced_at":"2025-12-28T20:47:38.454Z","repository":{"id":196732977,"uuid":"696285207","full_name":"FlorianMichael/WaybackAuthLib","owner":"FlorianMichael","description":"Addon for Mojang's AuthLib to support Yggdrasil authentication again","archived":false,"fork":false,"pushed_at":"2025-08-26T13:35:06.000Z","size":292,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-13T13:26:17.795Z","etag":null,"topics":["authlib","backport","mojang-authentication","third-party","yggdrasil"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FlorianMichael.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"FlorianMichael","custom":["https://florianmichael.de/donate"]}},"created_at":"2023-09-25T13:04:47.000Z","updated_at":"2025-08-26T13:35:09.000Z","dependencies_parsed_at":"2024-03-05T13:41:10.849Z","dependency_job_id":"983ee0b6-3705-4e0f-9614-51f77db8cc1b","html_url":"https://github.com/FlorianMichael/WaybackAuthLib","commit_stats":null,"previous_names":["florianmichael/waybackauthlib"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/FlorianMichael/WaybackAuthLib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMichael%2FWaybackAuthLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMichael%2FWaybackAuthLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMichael%2FWaybackAuthLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMichael%2FWaybackAuthLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlorianMichael","download_url":"https://codeload.github.com/FlorianMichael/WaybackAuthLib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMichael%2FWaybackAuthLib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275893942,"owners_count":25547853,"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","status":"online","status_checked_at":"2025-09-19T02:00:09.700Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["authlib","backport","mojang-authentication","third-party","yggdrasil"],"created_at":"2024-11-11T15:13:44.584Z","updated_at":"2025-12-28T20:47:38.437Z","avatar_url":"https://github.com/FlorianMichael.png","language":"Java","funding_links":["https://github.com/sponsors/FlorianMichael","https://florianmichael.de/donate"],"categories":[],"sub_categories":[],"readme":"# WaybackAuthLib\n\nAddon for Mojang's AuthLib to support Yggdrasil authentication again\n\n### This library required the AuthLib to be installed as a dependency\n\n## Why?\n\nWith the release of AuthLib 5.0, Mojang has removed all API methods to log in via the Yggdrasil Authentication system,\nas Yggdrasil has been officially terminated.\nHowever, many third-party log in methods use the Yggdrasil interface as a reference, this library is an addon for the\nAuthLib which adds all old methods back using the\ninternals of the AuthLib to be as compact as possible. This library will probably also be used in the future to restore\neven more methods that have been removed from the AuthLib.\n\n## Contact\n\nIf you encounter any issues, please report them on\nthe [issue tracker](https://github.com/FlorianMichael/WaybackAuthLib/issues).  \nIf you just want to talk or need help with WaybackAuthLib feel free to join\nmy [Discord](https://florianmichael.de/discord).\n\n## How to add this to your project\n\n### Gradle/Maven\n\nTo use WaybackAuthLib with Gradle/Maven you can\nuse [the Maven Central repository](https://mvnrepository.com/artifact/de.florianmichael/WaybackAuthLib)\nor [my own repository](https://maven.florianmichael.de/#/releases/de/florianmichael/WaybackAuthLib).  \nYou can also find instructions how to implement it into your build script there.\n\n### Jar File\n\nIf you just want the latest jar file you can download it\nfrom [my build server](https://build.florianmichael.de/job/WaybackAuthLib), [GitHub Actions](https://github.com/FlorianMichael/WaybackAuthLib/actions)\nor use the [releases tab](https://github.com/FlorianMichael/WaybackAuthLib/releases).\n\n## Example usage\n\n### Login with username and password / access token, log out and verify session\n\n```java\nfinal WaybackAuthLib authenticator = new WaybackAuthLib(\"\u003cyour auth host server\u003e\", clientToken, Proxy.NO_PROXY);\n\nauthenticator.\n\nsetUsername(username);\nauthenticator.\n\nsetPassword(password);\n\n// You can also use authenticator.setAcessToken(), the logIn method will then refresh the acess token\n// if it is expired (once you logged in using username/password, the access token field will also be updated automatically)\nauthenticator.\n\nlogIn();\n\nif(authenticator.\n\nisLoggedIn()){\nfinal GameProfile profile = authenticator.getCurrentProfile();\n\n// Do something with the profile\n}\n\nfinal boolean isTokenValid = authenticator.checkTokenValidity();\nif(isTokenValid){\n    // Do something\n    }\n\n    authenticator.\n\nlogOut(); // This will invalidate the access token and reset all storages\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianmichael%2Fwaybackauthlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorianmichael%2Fwaybackauthlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianmichael%2Fwaybackauthlib/lists"}