{"id":18754172,"url":"https://github.com/garpunkal/punktwofactor","last_synced_at":"2025-04-13T00:32:03.372Z","repository":{"id":65481320,"uuid":"493588613","full_name":"garpunkal/punkTwoFactor","owner":"garpunkal","description":"An umbraco nuget package to setup two factor authentication","archived":false,"fork":false,"pushed_at":"2023-07-14T08:04:47.000Z","size":89,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T18:57:26.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/garpunkal.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-18T09:07:52.000Z","updated_at":"2022-09-20T07:34:01.000Z","dependencies_parsed_at":"2024-11-07T17:48:57.118Z","dependency_job_id":null,"html_url":"https://github.com/garpunkal/punkTwoFactor","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garpunkal%2FpunkTwoFactor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garpunkal%2FpunkTwoFactor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garpunkal%2FpunkTwoFactor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garpunkal%2FpunkTwoFactor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garpunkal","download_url":"https://codeload.github.com/garpunkal/punkTwoFactor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650590,"owners_count":21139670,"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-07T17:28:12.079Z","updated_at":"2025-04-13T00:32:02.938Z","avatar_url":"https://github.com/garpunkal.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# punkTwoFactor\n\n[![NuGet release](https://img.shields.io/nuget/v/punkTwoFactor.svg)](https://www.nuget.org/packages/punkTwoFactor/)\n\nA simple Umbraco package that uses the documented implementation from Umbraco https://our.umbraco.com/documentation/Reference/Security/two-factor-authentication/#two-factor-authentication-for-users and adds some additional tweaks.\n\n## Nuget\n\n```\nInstall-Package punkTwoFactor\n```\n\nhttps://www.nuget.org/packages/punkTwoFactor/\n\n\n## Installation\n\nAdd the following section to your appsettings.json:\n```json\n\"punkTwoFactor\": {\n    \"ProviderName\": \"Two Factor Authentication\",\n    \"Issuer\": \"Two Factor Authentication - Dev\",\n    \"BackOfficeView\": \"..\\\\App_Plugins\\\\punkTwoFactor\\\\twoFactorProviderGoogleAuthenticator.html\"\n  }\n```\n\nAdd using statement:\n```csharp\nusing punkTwoFactor.Extensions;\n```\n\nAdd the following code block within your **ConfigureServices** section above the Umbraco setup:\n```csharp\nvar twoFactorConfiguration = services.ConfigureTwoFactorConfig(_config);\n```\n\nNow add the \"AddBackOfficeTwoFactorAuthentication\" extension to the Umbraco setup. \n\n```csharp\nservices\n    .AddUmbraco(_env, _config)\n    .AddBackOffice()\n    .AddWebsite()\n    .AddComposers()\n    .AddServices()\n    .AddNotifications()               \n    .AddBackOfficeTwoFactorAuthentication(twoFactorConfiguration)\n    .Build();\n```\n\n## Compatibility\n\n- Umbraco 10+    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarpunkal%2Fpunktwofactor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarpunkal%2Fpunktwofactor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarpunkal%2Fpunktwofactor/lists"}