{"id":24979921,"url":"https://github.com/mojoauth/java-sdk","last_synced_at":"2025-09-06T19:39:56.366Z","repository":{"id":275692238,"uuid":"821271915","full_name":"MojoAuth/java-sdk","owner":"MojoAuth","description":"Integrate MojoAuth into your Java application with ease. Our Java SDK provides seamless support for advanced authentication features such as PassKeys, SMS, OIDC, SAML, Social Sign-In, MFA, FIDO, OTP, and passwordless login. Experience top-tier security and performance with our API-first solution.","archived":false,"fork":false,"pushed_at":"2024-06-28T07:15:38.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-10T14:19:17.087Z","etag":null,"topics":["authenitcation","ciam","iam","identity-server","java-library","mfa","otp","passkeys","passkeys-demo","passwordless","passwordless-authentication"],"latest_commit_sha":null,"homepage":"https://mojoauth.com/docs/","language":"Java","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/MojoAuth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-28T07:14:51.000Z","updated_at":"2025-01-25T04:52:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"574065b0-e519-472b-afa2-6fb0f937d207","html_url":"https://github.com/MojoAuth/java-sdk","commit_stats":null,"previous_names":["mojoauth/java-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MojoAuth/java-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MojoAuth%2Fjava-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MojoAuth%2Fjava-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MojoAuth%2Fjava-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MojoAuth%2Fjava-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MojoAuth","download_url":"https://codeload.github.com/MojoAuth/java-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MojoAuth%2Fjava-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273955119,"owners_count":25197577,"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-06T02:00:13.247Z","response_time":2576,"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":["authenitcation","ciam","iam","identity-server","java-library","mfa","otp","passkeys","passkeys-demo","passwordless","passwordless-authentication"],"created_at":"2025-02-04T04:15:47.312Z","updated_at":"2025-09-06T19:39:56.062Z","avatar_url":"https://github.com/MojoAuth.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":" \u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.mojoauth.com\"\u003e\n    \u003cimg alt=\"MojoAuth\" src=\"https://mojoauth.com/assets/images/logo.svg\" width=\"200\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\n  MojoAuth JAVA SDK\n\u003c/h1\u003e\n\nMojoAuth provides you a robust and secure authentication mechanism for your web \u0026 mobile apps with a few lines of code and a delightful user experience.\n\n# Installing\n## Manual Installation\n1.  Right click on your project in eclipse.\n2.  Select **Build Path**.\n3.  Click on **Configure Build Path**.\n4.  Click on **Libraries** and select **Add External JARs**.\n5.  Select the jar file from your computer.\n6.  Hit and **Apply** button.\n\n## Automatic Installation\n[MojoAuth](https://www.mojoauth.com) is now using Maven. At present the jars **are** available from a public [maven]( ) repository.\n\nUse the following dependency in your project:\n\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.mojoauth.sdk\u003c/groupId\u003e\n  \u003cartifactId\u003ejava-sdk\u003c/artifactId\u003e\n  \u003cversion\u003e1.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n\n```\n\nThe jars are also available [here](). Select the directory for\nthe latest version and download the jar files.\n\n## Documentation\n\nJava Library\n=====\n\n-----\n\n\u003e**Disclaimer**\n\u003eThis library is meant to help you with a quick implementation of the MojoAuth platform and also to serve as a reference point for the MojoAuth API. Keep in mind that it is an open source library, which means you are free to download and customize the library functions based on your specific application needs.\n\n\n\n## Installation\n\nThis documentation presumes you have worked through java and eclipse libararies. API Details on this can be found in the [Document](https://mojoauth.com/docs).\n\nUse the following dependency in your project:\n\nYou can also compile the source by running the following commands. This will generate the javadocs in java-sdk/target/apidocs\n\n\n```\n$ git clone https://github.com/MojoAuth/java-sdk.git\n```\n```\n$ cd java-sdk\n```\n`$ mvn install` # Requires maven, download from http://maven.apache.org/download.html\n  \n`$ mvn dependency:copy-dependencies`   # This will generate all dependencies here: java-sdk/target/dependency\nThe jars are also available at [Maven](https://mvnrepository.com/artifact/io.mojoauth.sdk/java-sdk).\n\nSelect the directory for the latest version and download the jar files.\n\n## Initialize SDK\nBefore using the SDK, you must initialize the SDK with the help of following code:\nAPI Key and secret of your MojoAuth site. You can get one from [here](http://mojoauth.com/dashboard)\n\n```\nMojoAuthSDK.Initialize init = new MojoAuthSDK.Initialize();\ninit.setApiKey(\"___MOJOAUTH_APIKEY___\");\n```\n## Quickstart Guide\n\n\n### Verify Access Token\n\n\n\t  This function is used to verify jwt token.\n\t  ```\n\tpublic static void check() {\n\tString token = \"\u003ctoken\u003e\";\n\tJwks jwks = new Jwks();\n\tjwks.verifyAccessToken(token, new AsyncHandler\u003cVerifyTokenResponse\u003e() {\n\t\t\n\t\t@Override\n\t\tpublic void onSuccess(VerifyTokenResponse data) {\n\t\t\tSystem.out.println(data.getAccessToken());\n\t\t\tSystem.out.println(data.getIsValid());\n\t\t}\n\t\t\n\t\t@Override\n\t\tpublic void onFailure(ErrorResponse errorcode) {\n\t\t\tSystem.out.println(errorcode.getMessage());\n\t\t\tSystem.out.println(errorcode.getDescription());\n\t\t}\n\t});\n\t}\n\n\t  ```\n \n  \t  \n## Reference Manual\n\nPlease find the reference manual [here](http://mojoauth.com/docs).\n\n## How to contribute\n\nWe appreciate all kinds of contributions from anyone, be it finding an issue or writing a blog.\n\nPlease check the [contributing guide](CONTRIBUTING.md) to become a contributor.\n\n## License\n\nFor more information on licensing, please refer to [License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojoauth%2Fjava-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojoauth%2Fjava-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojoauth%2Fjava-sdk/lists"}