<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — FrontAccounting with Duo Security 2 Factor Authentication (2fa)]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9462</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9462&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in FrontAccounting with Duo Security 2 Factor Authentication (2fa).]]></description>
		<lastBuildDate>Sat, 16 Oct 2021 05:03:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: FrontAccounting with Duo Security 2 Factor Authentication (2fa)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40112#p40112</link>
			<description><![CDATA[<p>@ardyan, Still you didn&#039;t understand what i mean in my comment.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Sat, 16 Oct 2021 05:03:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40112#p40112</guid>
		</item>
		<item>
			<title><![CDATA[Re: FrontAccounting with Duo Security 2 Factor Authentication (2fa)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40109#p40109</link>
			<description><![CDATA[<div class="quotebox"><cite>geesyscare wrote:</cite><blockquote><p>Hope, Duo is not an open source application and it is chargeable beyond 10 users. instead can we could try with <br /><a href="https://github.com/nnolan-open/open2fa">open2fa</a>,<br /><a href="https://github.com/linotp">linotp</a>,<br /><a href="https://github.com/multiOTP">multiotp</a><br />and many more.</p><p>Can we have your opinion @ardyan please?</p></blockquote></div><p>Hi @geesyscare and @kvvaradha<br />please read my new post at <a href="https://frontaccounting.com/punbb/viewtopic.php?pid=40108">https://frontaccounting.com/punbb/viewt … ?pid=40108</a></p>]]></description>
			<author><![CDATA[null@example.com (ardyan)]]></author>
			<pubDate>Fri, 15 Oct 2021 07:35:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40109#p40109</guid>
		</item>
		<item>
			<title><![CDATA[Re: FrontAccounting with Duo Security 2 Factor Authentication (2fa)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40107#p40107</link>
			<description><![CDATA[<p>Hi @kvvaradha,<br />i can&#039;t figuring out how to make this without customize&nbsp; the core.<br />can you give me a clue, how to cut session between after login and before going to dashboard page just from module?</p>]]></description>
			<author><![CDATA[null@example.com (ardyan)]]></author>
			<pubDate>Fri, 15 Oct 2021 06:13:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40107#p40107</guid>
		</item>
		<item>
			<title><![CDATA[Re: FrontAccounting with Duo Security 2 Factor Authentication (2fa)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40087#p40087</link>
			<description><![CDATA[<p>@ardyan,&nbsp; you don&#039;t need to customize the core to use it. Try hooks. You can do it from module itself. And make the duo security as separate module.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Wed, 13 Oct 2021 11:04:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40087#p40087</guid>
		</item>
		<item>
			<title><![CDATA[Re: FrontAccounting with Duo Security 2 Factor Authentication (2fa)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40085#p40085</link>
			<description><![CDATA[<p>Hi,<br />Yes @geesyscare, because our office using DUO for additional login purposes. But sure, the other kind of 2FA could be deploy to frontaccounting. In the near future I will do my accounting lab and try the opensourcce for 2FA.</p><p>I&#039;ve tried using Google 2FA, and it worked, but I want to try to make a module so that everyone can easily use it</p>]]></description>
			<author><![CDATA[null@example.com (ardyan)]]></author>
			<pubDate>Wed, 13 Oct 2021 06:29:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40085#p40085</guid>
		</item>
		<item>
			<title><![CDATA[Re: FrontAccounting with Duo Security 2 Factor Authentication (2fa)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40045#p40045</link>
			<description><![CDATA[<p>Hope, Duo is not an open source application and it is chargeable beyond 10 users. instead can we could try with <br /><a href="https://github.com/nnolan-open/open2fa">open2fa</a>,<br /><a href="https://github.com/linotp">linotp</a>,<br /><a href="https://github.com/multiOTP">multiotp</a><br />and many more.</p><p>Can we have your opinion @ardyan please?</p>]]></description>
			<author><![CDATA[null@example.com (geesyscare)]]></author>
			<pubDate>Wed, 29 Sep 2021 13:49:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40045#p40045</guid>
		</item>
		<item>
			<title><![CDATA[FrontAccounting with Duo Security 2 Factor Authentication (2fa)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39977#p39977</link>
			<description><![CDATA[<p>download duo_php lib here <strong><a href="https://github.com/duosecurity/duo_php">https://github.com/duosecurity/duo_php</a></strong><br />extract to FrontAccounting folder.</p><p>open your /fa/path/folder/index.php<br />and replace with this code:<br /></p><div class="codebox"><pre><code>&lt;?php
$path_to_root=&quot;.&quot;;
if (!file_exists($path_to_root.&#039;/config_db.php&#039;))
  header(&quot;Location: &quot;.$path_to_root.&quot;/install/index.php&quot;);

$page_security = &#039;SA_OPEN&#039;;
ini_set(&#039;xdebug.auto_trace&#039;,1);
include_once(&quot;includes/session.inc&quot;);

add_access_extensions();
$app = &amp;$_SESSION[&quot;App&quot;];
if (isset($_GET[&#039;application&#039;]))
  $app-&gt;selected_application = $_GET[&#039;application&#039;];

if(isset($_SESSION[&quot;wa_current_user&quot;]-&gt;loginname) &amp;&amp; $_SESSION[&quot;wa_current_user&quot;]-&gt;loginname != &quot;&quot; &amp;&amp; !isset($_POST[&#039;sig_response&#039;])){
  define(&#039;AKEY&#039;, &quot;THISISMYSUPERSECRETCUSTOMERKEYDONOTSHARE&quot;);
  define(&#039;IKEY&#039;, &quot;IKEY&quot;);
  define(&#039;SKEY&#039;, &quot;SKEY&quot;);
  define(&#039;HOST&#039;, &quot;api-xxxxxxxx.duosecurity.com&quot;);
  
  require_once &#039;duo_php/src/Web.php&#039;;
  $sig_request = Duo\Web::signRequest(IKEY, SKEY, AKEY, $_SESSION[&quot;wa_current_user&quot;]-&gt;loginname);
?&gt;
  &lt;style&gt;
  iframe#duo_iframe { margin-top: 100px; width: 450px;height: 400px; border-style: none; }
  &lt;/style&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;duo_php/js/Duo-Web-v2.js&quot;&gt;&lt;/script&gt;
  &lt;center&gt;&lt;iframe id=&quot;duo_iframe&quot; data-host=&quot;&lt;?php echo HOST; ?&gt;&quot; data-sig-request=&quot;&lt;?php echo $sig_request; ?&gt;&quot;&gt;&lt;/iframe&gt;&lt;/center&gt;
&lt;?php
} else if(isset($_POST[&#039;sig_response&#039;])){
  if (!isset($_SESSION[&quot;App&quot;])) {
    $_SESSION[&quot;App&quot;] = new front_accounting();
    $_SESSION[&quot;App&quot;]-&gt;init();
  }
  
  $app-&gt;display();
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ardyan)]]></author>
			<pubDate>Sat, 04 Sep 2021 06:21:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39977#p39977</guid>
		</item>
	</channel>
</rss>
