{"id":22544436,"url":"https://github.com/hardiksinghbehl/email-2fa-spring-boot","last_synced_at":"2025-09-01T07:33:39.221Z","repository":{"id":118947388,"uuid":"415345953","full_name":"hardikSinghBehl/email-2FA-spring-boot","owner":"hardikSinghBehl","description":"Email based 2FA implementation using Spring-boot and Java-mail API","archived":false,"fork":false,"pushed_at":"2021-10-09T16:20:34.000Z","size":77,"stargazers_count":9,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T23:50:53.221Z","etag":null,"topics":["2fa","java","java-mail","multi-factor-authentication","spring-boot","spring-security"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hardikSinghBehl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-10-09T15:22:52.000Z","updated_at":"2025-03-14T14:04:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb277b65-b3c6-46e2-867a-a9b29d9d4f0f","html_url":"https://github.com/hardikSinghBehl/email-2FA-spring-boot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hardikSinghBehl/email-2FA-spring-boot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikSinghBehl%2Femail-2FA-spring-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikSinghBehl%2Femail-2FA-spring-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikSinghBehl%2Femail-2FA-spring-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikSinghBehl%2Femail-2FA-spring-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardikSinghBehl","download_url":"https://codeload.github.com/hardikSinghBehl/email-2FA-spring-boot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikSinghBehl%2Femail-2FA-spring-boot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273088783,"owners_count":25043563,"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-01T02:00:09.058Z","response_time":120,"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":["2fa","java","java-mail","multi-factor-authentication","spring-boot","spring-security"],"created_at":"2024-12-07T14:07:15.339Z","updated_at":"2025-09-01T07:33:39.185Z","avatar_url":"https://github.com/hardikSinghBehl.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Email based 2 Factor Authentication: implementation using Spring-boot, Spring-security and Java-Mail API\n\n### Local Setup\n* Install Java 17 (recommended to use [SdkMan](https://sdkman.io))\n\n`sdk install java 17-open`\n* Install Maven (recommended to use [SdkMan](https://sdkman.io))\n\n`sdk install maven`\n\n* Clone the repo and Go to application.properties under src/main/resources and replace the below mentioned values with correct ones\n\n```\nspring.mail.username = \u003cyour email-id goes here\u003e\nspring.mail.password = \u003cyour app-password/password goes here\u003e\n```\n\n* Run the below command in core\n\n`mvn clean install`\n\n* To start the application, run any of the below 2 commands\n\n`mvn spring-boot:run \u0026`\n\n`java -jar /target/email-based-two-factor-auth-spring-boot-0.0.1-SNAPSHOT.jar`\n\n* Access the swagger-ui\n\n`http://localhost:8080/swagger-ui.html`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardiksinghbehl%2Femail-2fa-spring-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardiksinghbehl%2Femail-2fa-spring-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardiksinghbehl%2Femail-2fa-spring-boot/lists"}