{"id":19792328,"url":"https://github.com/making/demo-two-factor-authentication","last_synced_at":"2025-05-01T02:30:26.796Z","repository":{"id":193320863,"uuid":"688565908","full_name":"making/demo-two-factor-authentication","owner":"making","description":"Two-Factor Authentication Demo with Spring Security","archived":false,"fork":false,"pushed_at":"2023-10-17T07:25:50.000Z","size":91,"stargazers_count":16,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T07:43:11.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/making.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}},"created_at":"2023-09-07T16:01:52.000Z","updated_at":"2025-01-23T16:48:05.000Z","dependencies_parsed_at":"2023-09-07T18:35:03.120Z","dependency_job_id":null,"html_url":"https://github.com/making/demo-two-factor-authentication","commit_stats":null,"previous_names":["making/demo-two-factor-authentication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fdemo-two-factor-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fdemo-two-factor-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fdemo-two-factor-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fdemo-two-factor-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/making","download_url":"https://codeload.github.com/making/demo-two-factor-authentication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251812227,"owners_count":21647866,"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":[],"created_at":"2024-11-12T07:06:41.720Z","updated_at":"2025-05-01T02:30:26.557Z","avatar_url":"https://github.com/making.png","language":"Java","readme":"# Two-Factor Authentication Demo with Spring Security\n\n\nVisit http://localhost:8080/signup to register for an account.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/b93b706e-356b-42b4-b97e-bf0e60ca6885\"\u003e\n\n2FA is disabled by default.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/cce5282f-09b5-484f-b876-5c93d87b33fc\"\u003e\n\nLog out.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/5f511532-f48e-460a-b825-6d7f896e5b3e\"\u003e\n\nLog in again.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/bcd1b6cc-c169-443b-a63a-4fe83dd4add1\"\u003e\n\n2FA is disabled, so login is successful with only username and password.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/fd7773c9-e512-4c3c-b284-5af4ff9858fc\"\u003e\n\nEnable 2FA.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/daea5be5-998c-4e73-a8d1-bba8f10d87f9\"\u003e\n\nRead the QR code using Google Authenticator.\n\n![image](https://github.com/making/blog.ik.am/assets/106908/a1a51abd-6b93-4210-a004-75a801d04040)\n\nCheck the code.\n\n![image](https://github.com/making/blog.ik.am/assets/106908/542691b9-f8d3-4a5a-bd0b-51a711f59fae)\n\nEnter the code and click the verify button.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/06b6f1d6-3190-4a62-831e-bd8d3d62e3d8\"\u003e\n\n2FA has been enabled.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/78de0e76-257f-4f6d-9489-3ce27db9668f\"\u003e\n\nLog out.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/5f511532-f48e-460a-b825-6d7f896e5b3e\"\u003e\n\nLog in again.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/bcd1b6cc-c169-443b-a63a-4fe83dd4add1\"\u003e\n\nThis time, 2FA is enabled, so you will be asked to enter a code.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/49324a33-e6bd-42cb-8268-0e4e1cad3997\"\u003e\n\nCheck the code with Google Authenticator.\n\n![image](https://github.com/making/blog.ik.am/assets/106908/3b1d7927-5c50-4732-a0dd-c4274934f4be)\n\nEnter the code and click the verify button.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/7866fe1c-4245-45cc-9a52-b810361a4cb3\"\u003e\n\nLogin was successful.\n\n\u003cimg width=\"1912\" alt=\"image\" src=\"https://github.com/making/blog.ik.am/assets/106908/01ea35a9-2f2b-48d9-a460-9653e02fac12\"\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fdemo-two-factor-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaking%2Fdemo-two-factor-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fdemo-two-factor-authentication/lists"}