{"id":18298722,"url":"https://github.com/fusionauth/fusionauth-2fa","last_synced_at":"2025-10-06T21:40:49.002Z","repository":{"id":35744656,"uuid":"40023711","full_name":"FusionAuth/fusionauth-2fa","owner":"FusionAuth","description":"Two Factor Helper for RFC4226 HMAC-Based One-Time Password Algorithm","archived":false,"fork":false,"pushed_at":"2024-07-28T05:31:37.000Z","size":339,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-09-30T19:54:19.218Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://fusionauth.io","language":"JavaScript","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/FusionAuth.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-31T20:31:58.000Z","updated_at":"2025-05-01T12:28:31.000Z","dependencies_parsed_at":"2024-07-28T06:32:29.881Z","dependency_job_id":"a84fb745-b48c-44ba-9a63-1a52bf376b2b","html_url":"https://github.com/FusionAuth/fusionauth-2fa","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/FusionAuth/fusionauth-2fa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-2fa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-2fa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-2fa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-2fa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-2fa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-2fa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278686625,"owners_count":26028326,"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-10-06T02:00:05.630Z","response_time":65,"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":[],"created_at":"2024-11-05T15:06:50.103Z","updated_at":"2025-10-06T21:40:48.973Z","avatar_url":"https://github.com/FusionAuth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## FusionAuth Two Factor ![semver 2.0.0 compliant](http://img.shields.io/badge/semver-2.0.0-brightgreen.svg?style=flat-square)\n\nThis project is a helper for anyone building their own OTP implementation. This project contains a web based tester, and a Java class with some helpful methods.\n\n### Using the Java Helper\nThe Java helper can be found in `src/main/java/io/fusionauth/twofactor/TwoFactor.java`.\n\n### Web based testing\nTo use the web based OTP generator with QRCode options, open the `web/html/example.html` file in your browser.\n\nThe following is an example screenshot. This tool can be useful for testing.\n\n![Example Screenshot](/web/images/example_screenshot.png)\n\n### Building in Savant\n**Note:** This project uses the Savant build tool. To compile using using Savant, follow these instructions:\n\n```bash\n$ mkdir ~/savant\n$ cd ~/savant\n$ wget http://savant.inversoft.org/org/savantbuild/savant-core/1.0.0/savant-1.0.0.tar.gz\n$ tar xvfz savant-1.0.0.tar.gz\n$ ln -s ./savant-1.0.0 current\n$ export PATH=$PATH:~/savant/current/bin/\n```\n\nThen, perform an integration build of the project by running:\n```bash\n$ sb int\n```\n\nFor more information, checkout [savantbuild.org](http://savantbuild.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-2fa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-2fa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-2fa/lists"}