<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Secondary Authentication Using Duo Security]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8135&amp;type=atom" />
	<updated>2019-05-06T16:25:50Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8135</id>
		<entry>
			<title type="html"><![CDATA[Re: Secondary Authentication Using Duo Security]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34884#p34884" />
			<content type="html"><![CDATA[<p>Thanks you apmuthu, will try and post results here.</p>]]></content>
			<author>
				<name><![CDATA[Denis]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=44612</uri>
			</author>
			<updated>2019-05-06T16:25:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34884#p34884</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Secondary Authentication Using Duo Security]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34870#p34870" />
			<content type="html"><![CDATA[<p>The FA Login with<br /></p><div class="codebox"><pre><code>user_name_entry_field
password
company_login_name</code></pre></div><p>gets posted to itself (index.php) which includes the session file (includes/session.inc) that checks if a session exists and if not, includes the&nbsp; login form (access/login.php).</p><p>It is in the last file referred to above that you will need to create a secondary hook for your dual authorisation using a special unique session variable as a flag.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-05-04T07:34:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34870#p34870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Secondary Authentication Using Duo Security]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34867#p34867" />
			<content type="html"><![CDATA[<p>Thanks apmuthu!</p><p>This will work if I want to capture second authentication at the same time as login.<br />In my case I would like to validate username+password first and only after that show separate captive page where I will handle additional auth (users can have different types MFA that will require different handling). Only after that second page user will be logged on. Failure at either of these steps will take user back to login. </p><p>I guess my question is &quot;how can I introduce an additional page between successful login and taking user to the main application&quot;.</p>]]></content>
			<author>
				<name><![CDATA[Denis]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=44612</uri>
			</author>
			<updated>2019-05-03T19:41:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34867#p34867</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Secondary Authentication Using Duo Security]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34863#p34863" />
			<content type="html"><![CDATA[<p>Use SMS OTP to generate a dynamic password valid for that session only directly in the db - maybe an extra field in the use record.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-05-03T04:11:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34863#p34863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Secondary Authentication Using Duo Security]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34843#p34843" />
			<content type="html"><![CDATA[<p>Looking for the correct way to implement 2FA using Duo Security: after successful login I need to make a second authorization call (javascript + iFrame). Here is documentation on Duo architecture: https://duo.com/docs/duoweb<br />PHP demo Duo code is available here: https://github.com/duosecurity/duo_php</p><p>Is it possible to add one more step (with user interaction) to login process?<br />Have had a look at ldap_auth extension, but it seems to replace FA authenticate, where I want to add an extra step.</p><p>Thank you.</p>]]></content>
			<author>
				<name><![CDATA[Denis]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=44612</uri>
			</author>
			<updated>2019-04-30T21:02:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34843#p34843</id>
		</entry>
</feed>
