<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Integration with existing authentication</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Integration with existing authentication</description>
<language>en</language>
<pubDate>Sun, 14 Jun 2026 02:15:11 +0000</pubDate>

<item>
<title>yuniar on "Integration with existing authentication"</title>
<link>https://www.machform.com/forums/topic/integration-with-existing-authentication#post-4897</link>
<pubDate>Wed, 04 Mar 2009 16:55:16 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">4897@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Isaac,&#60;/p&#62;
&#60;p&#62;I'm glad you are able to extend MachForm to suit your need. Our goal from the beginning is to write the most simple code as possible, so that both novice programmer and advanced could easily extend it.&#60;/p&#62;
&#60;p&#62;That's why we aren't using any framework (personally I would love to use solid framework such as CodeIgniter) for our code base, in case you are wondering.&#60;/p&#62;
&#60;p&#62;Your modification seems to be fine. However, I'm afraid I can't promise you anything regarding rolling your code into our current code.
&#60;/p&#62;</description>
</item>
<item>
<title>isaacvetter on "Integration with existing authentication"</title>
<link>https://www.machform.com/forums/topic/integration-with-existing-authentication#post-4888</link>
<pubDate>Wed, 04 Mar 2009 13:39:20 +0000</pubDate>
<dc:creator>isaacvetter</dc:creator>
<guid isPermaLink="false">4888@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Okay, I've got my employer's web SSO system working with MachForms.&#60;/p&#62;
&#60;p&#62;I just required an &#34;external&#34; php class from within the config.php file (because it seems to be included everywhere) and then added code to replace the values of private/Admin-only fields that were named very specifically, with the logged in user's unique ID (essentially username).&#60;/p&#62;
&#60;p&#62;Specifically, I added code at line #148 in includes/post-functions.php, in the process_form() function.&#60;/p&#62;
&#60;p&#62;This is a reasonable modification, right?&#60;/p&#62;
&#60;p&#62;Now, I'd like to remove the admin authentication completely and deal with it as the webserver/.htaccess level, have support for multiple admin users, provide the ability for a user to update their form submission and have a better method for pulling submitted data out of MachForm (like a REST API!!).&#60;/p&#62;
&#60;p&#62;My long-term concern is supporting modified code, which will stop me from applying updates. Yuniar, if I do any of the above, especially the last one, and provide you with diffs, will you consider rolling them back into your product?&#60;/p&#62;
&#60;p&#62;Isaac
&#60;/p&#62;</description>
</item>
<item>
<title>isaacvetter on "Integration with existing authentication"</title>
<link>https://www.machform.com/forums/topic/integration-with-existing-authentication#post-4886</link>
<pubDate>Wed, 04 Mar 2009 12:20:40 +0000</pubDate>
<dc:creator>isaacvetter</dc:creator>
<guid isPermaLink="false">4886@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Also, because form submission occurs to an inline link that doesn't specify a full url, that can break some web single sign on systems, like the one I'm trying to use: &#60;a href=&#34;http://www.jasig.org/cas&#34; rel=&#34;nofollow&#34;&#62;http://www.jasig.org/cas&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Having the form action point to PHP_SELF would fix this.&#60;/p&#62;
&#60;p&#62;Isaac
&#60;/p&#62;</description>
</item>
<item>
<title>isaacvetter on "Integration with existing authentication"</title>
<link>https://www.machform.com/forums/topic/integration-with-existing-authentication#post-4885</link>
<pubDate>Wed, 04 Mar 2009 12:14:33 +0000</pubDate>
<dc:creator>isaacvetter</dc:creator>
<guid isPermaLink="false">4885@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi yuniar;&#60;/p&#62;
&#60;p&#62;I'm digging through your code to figure out the cleanest way to securely insert a user's unique id into a form submission.&#60;/p&#62;
&#60;p&#62;I can't help but think that if you had a master form element type class and then extended it for specific form elements (phone, address, captcha, email, etc) it would be a lot easier to add new types, even per customer.&#60;/p&#62;
&#60;p&#62;This would make submission validation a lot easier, too.&#60;/p&#62;
&#60;p&#62;Isaac
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Integration with existing authentication"</title>
<link>https://www.machform.com/forums/topic/integration-with-existing-authentication#post-4830</link>
<pubDate>Sat, 28 Feb 2009 14:46:16 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">4830@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is that your only requirement? To pass username/id into the form from other system?&#60;/p&#62;
&#60;p&#62;If so, yes this is possible with some modification. The easiest way would be using session. If you could set a session variable from your auth system, machform can access it and include it into your form submission.
&#60;/p&#62;</description>
</item>
<item>
<title>isaacvetter on "Integration with existing authentication"</title>
<link>https://www.machform.com/forums/topic/integration-with-existing-authentication#post-4822</link>
<pubDate>Fri, 27 Feb 2009 20:58:51 +0000</pubDate>
<dc:creator>isaacvetter</dc:creator>
<guid isPermaLink="false">4822@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi;&#60;/p&#62;
&#60;p&#62;MachForm seems to be almost exactly what I'm looking for. The crucial feature that I need is some method to integrate into an authentication system.&#60;/p&#62;
&#60;p&#62;I want a visitor to log in with a username and password and then be directed to the form and have the visitor's username/id associated with his/her form submission.&#60;/p&#62;
&#60;p&#62;I understand that I can modify code upon purchase. Do you have any other suggestions for doing this?&#60;/p&#62;
&#60;p&#62;Much Thanks,&#60;/p&#62;
&#60;p&#62;Isaac
&#60;/p&#62;</description>
</item>

</channel>
</rss>
