<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged saml</title>
<link>https://www.question2answer.org/qa/tag/saml</link>
<description>Powered by Question2Answer</description>
<item>
<title>Unable to call the function qa_log_in_external_user()</title>
<link>https://www.question2answer.org/qa/94962/unable-to-call-the-function-qa_log_in_external_user</link>
<description>

&lt;p&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Times New Roman&amp;quot;; font-size:medium&quot;&gt;i am done with SAML azure integration but its getting logged in and not creating DB entry for new user. Hence other functions like points etc showing null. When i tried to call&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Times New Roman&amp;quot;; font-size:medium&quot;&gt;qa_log_in_external_user() function by require_one QA_INCLUDE_DIR. 'app/users.php'&lt;/span&gt;&lt;span style=&quot;color:#24292e; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px; white-space:pre&quot;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Times New Roman&amp;quot;; font-size:medium&quot;&gt;Uncaught Error: Call to undefined function qa_log_in_external_user()&amp;nbsp; {main} thrown in&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;color:#000000; font-family:&amp;quot;Times New Roman&amp;quot;; font-size:medium&quot;&gt;D:\nginx\faqs\qa-external\qa-external-users.php&lt;/strong&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Times New Roman&amp;quot;; font-size:medium&quot;&gt;&amp;nbsp;on line&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;color:#000000; font-family:&amp;quot;Times New Roman&amp;quot;; font-size:medium&quot;&gt;305&lt;/strong&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/94962/unable-to-call-the-function-qa_log_in_external_user</guid>
<pubDate>Mon, 26 Jul 2021 12:44:56 +0000</pubDate>
</item>
<item>
<title>SAML Authentication can be integrated?</title>
<link>https://www.question2answer.org/qa/83833/saml-authentication-can-be-integrated</link>
<description>Can I use SAML Authentication with latest Q2A? If Yes, can please provide any documentation to integrate SAML in Q2A.&lt;br /&gt;
&lt;br /&gt;
Thanks in Advance</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/83833/saml-authentication-can-be-integrated</guid>
<pubDate>Wed, 13 May 2020 12:02:38 +0000</pubDate>
</item>
<item>
<title>SAML 2.0 Authentication</title>
<link>https://www.question2answer.org/qa/59452/saml-2-0-authentication</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I'm building a q2a site which will be protected by a security filter that will require users to be authenticated via SAML 2.0/SSO. &amp;nbsp;An unauthenticated user attempting to access the site will be intercepted by the filter, redirected to a login portal and then redirected back to the original site. &amp;nbsp;Attributes sent back from the login portal are extracted and added as keys which can be retrieved with this php&lt;br /&gt;
&lt;br /&gt;
foreach($_SERVER as $key=&amp;gt;$value) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if(substr($key, 0, 7) == 'MELLON_') {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo($key . '=' . $value . &amp;quot;\r\n&amp;quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Note: MELLON is just the prefix the security filter adds to attributes passed from the login portal. &amp;nbsp;Some of the attributes I'll get back are name, email, userid etc. &amp;nbsp;Ideally, what I'd like to do is create a user if they don't exist using the attributes or if they do exist go on and log them in. &amp;nbsp;I'm pretty sure I'll be using the qa_create_new_user function. &amp;nbsp;But what other functions would be useful?&lt;br /&gt;
&lt;br /&gt;
My question is what is am I on the right track? &amp;nbsp;What is the best way to implement this (perhaps a plugin but what to override and how) &amp;nbsp;I'd want to disable the login/register links since this would be done automatically in my use case. &amp;nbsp;How can this be done?&lt;br /&gt;
&lt;br /&gt;
I don't believe the out of box q2a SSO solution will work because it seems more focused on user databases than an external authentication provider.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/59452/saml-2-0-authentication</guid>
<pubDate>Wed, 06 Sep 2017 02:59:58 +0000</pubDate>
</item>
</channel>
</rss>