<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: ASP.NET Core &#8211; Two Factor Authentication Using Google Authenticator	</title>
	<atom:link href="https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/feed/" rel="self" type="application/rss+xml" />
	<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/</link>
	<description>A .Net hub</description>
	<lastBuildDate>Sun, 25 Jan 2026 10:48:03 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Shreyans		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-178676</link>

		<dc:creator><![CDATA[Shreyans]]></dc:creator>
		<pubDate>Wed, 07 Aug 2024 11:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-178676</guid>

					<description><![CDATA[Hi Ankit,

Your solution or implementation works only for .NET 2.0, but now we are using .NET 6 or .NET 8 MVC/Core, and this library is not supported. Could you please provide an updated reference or suggestion for the newer versions?

Thank you,

Shreyans]]></description>
			<content:encoded><![CDATA[<p>Hi Ankit,</p>
<p>Your solution or implementation works only for .NET 2.0, but now we are using .NET 6 or .NET 8 MVC/Core, and this library is not supported. Could you please provide an updated reference or suggestion for the newer versions?</p>
<p>Thank you,</p>
<p>Shreyans</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aishwarya		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-128341</link>

		<dc:creator><![CDATA[Aishwarya]]></dc:creator>
		<pubDate>Sat, 20 May 2023 13:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-128341</guid>

					<description><![CDATA[Can you please explain why we use Data File in this project!!??]]></description>
			<content:encoded><![CDATA[<p>Can you please explain why we use Data File in this project!!??</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ed		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-118745</link>

		<dc:creator><![CDATA[Ed]]></dc:creator>
		<pubDate>Sun, 27 Feb 2022 00:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-118745</guid>

					<description><![CDATA[Unfortunately I got stuck on the line where it says open Views\Manage\EnableAuthenticator.cshtml simply because I cannot find it anywhere.]]></description>
			<content:encoded><![CDATA[<p>Unfortunately I got stuck on the line where it says open Views\Manage\EnableAuthenticator.cshtml simply because I cannot find it anywhere.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rahul Shukla		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-109073</link>

		<dc:creator><![CDATA[Rahul Shukla]]></dc:creator>
		<pubDate>Sun, 25 Apr 2021 19:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-109073</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3461&quot;&gt;Ankit Sharma&lt;/a&gt;.

Good Work.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3461">Ankit Sharma</a>.</p>
<p>Good Work.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: appsian		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-106447</link>

		<dc:creator><![CDATA[appsian]]></dc:creator>
		<pubDate>Wed, 20 Jan 2021 05:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-106447</guid>

					<description><![CDATA[Really enjoyed your article as its highly informative]]></description>
			<content:encoded><![CDATA[<p>Really enjoyed your article as its highly informative</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Clemens		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-103476</link>

		<dc:creator><![CDATA[Clemens]]></dc:creator>
		<pubDate>Wed, 14 Oct 2020 09:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-103476</guid>

					<description><![CDATA[Hi Ankit,

works like a charm even for .NET core 3.1! 
Many thanks for this tutorial which is the most condensed but still working introduction to 2FA for ASP.NET core I found!

Something unmentioned though is when starting from scratch there is the need of scaffolding an Identity

something like

- [existing] Create MVC Web Application
- [NEW] Scaffold Identity
   Project &#062; Add &#062; New Scaffolded Item ... &#062; Identity
   a.s.o
- [existing] Adding QR Codes to configure two-factor authentication]]></description>
			<content:encoded><![CDATA[<p>Hi Ankit,</p>
<p>works like a charm even for .NET core 3.1!<br />
Many thanks for this tutorial which is the most condensed but still working introduction to 2FA for ASP.NET core I found!</p>
<p>Something unmentioned though is when starting from scratch there is the need of scaffolding an Identity</p>
<p>something like</p>
<p>&#8211; [existing] Create MVC Web Application<br />
&#8211; [NEW] Scaffold Identity<br />
   Project &gt; Add &gt; New Scaffolded Item &#8230; &gt; Identity<br />
   a.s.o<br />
&#8211; [existing] Adding QR Codes to configure two-factor authentication</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ankit Sharma		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3530</link>

		<dc:creator><![CDATA[Ankit Sharma]]></dc:creator>
		<pubDate>Fri, 13 Jul 2018 05:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-3530</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3514&quot;&gt;Saravanan&lt;/a&gt;.

I have not explored this personally. But try googling a bit, you will find some solution.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3514">Saravanan</a>.</p>
<p>I have not explored this personally. But try googling a bit, you will find some solution.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: saravanan		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3518</link>

		<dc:creator><![CDATA[saravanan]]></dc:creator>
		<pubDate>Thu, 12 Jul 2018 09:35:26 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-3518</guid>

					<description><![CDATA[Hi Ankit,

When user not set authenticateKey we call reset method.
Can we create this manually since i&#039;m using identity without Entity Framework
 await _userManager.ResetAuthenticatorKeyAsync(user);

But i&#039;m not aware of how to create unique key for table AspNetUserTokens.]]></description>
			<content:encoded><![CDATA[<p>Hi Ankit,</p>
<p>When user not set authenticateKey we call reset method.<br />
Can we create this manually since i&#8217;m using identity without Entity Framework<br />
 await _userManager.ResetAuthenticatorKeyAsync(user);</p>
<p>But i&#8217;m not aware of how to create unique key for table AspNetUserTokens.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Saravanan		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3514</link>

		<dc:creator><![CDATA[Saravanan]]></dc:creator>
		<pubDate>Thu, 12 Jul 2018 04:57:03 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-3514</guid>

					<description><![CDATA[Hi Ankit 

I&#039;ve working without Entity Framework,
but can&#039;t generate custom methods for GetAuthenticatorKeyAsync()
for e.g  var unformattedKey = await _userManager.GetAuthenticatorKeyAsync(user) 

Can you provide suggestion on generate custom methods for the two factor verifications.

Thanks,
Saravanan]]></description>
			<content:encoded><![CDATA[<p>Hi Ankit </p>
<p>I&#8217;ve working without Entity Framework,<br />
but can&#8217;t generate custom methods for GetAuthenticatorKeyAsync()<br />
for e.g  var unformattedKey = await _userManager.GetAuthenticatorKeyAsync(user) </p>
<p>Can you provide suggestion on generate custom methods for the two factor verifications.</p>
<p>Thanks,<br />
Saravanan</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ankit Sharma		</title>
		<link>https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3470</link>

		<dc:creator><![CDATA[Ankit Sharma]]></dc:creator>
		<pubDate>Tue, 10 Jul 2018 14:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://ankitsharmablogs.com/?p=862#comment-3470</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3462&quot;&gt;Saravanan&lt;/a&gt;.

yes. It is mandatory to have both of them on same time zone.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://ankitsharmablogs.com/asp-net-core-two-factor-authentication-using-google-authenticator/#comment-3462">Saravanan</a>.</p>
<p>yes. It is mandatory to have both of them on same time zone.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk
Database Caching 1/16 queries in 0.157 seconds using Disk (Request-wide modification query)

Served from: ankitsharmablogs.com @ 2026-04-23 20:21:53 by W3 Total Cache
-->