<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged tikiwiki</title>
<link>https://www.question2answer.org/qa/tag/tikiwiki</link>
<description>Powered by Question2Answer</description>
<item>
<title>SSO config session cookie hashed?</title>
<link>https://www.question2answer.org/qa/63577/sso-config-session-cookie-hashed</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am trying to get the SSO working with TikiWiki following the instructions in the qa-external-users file. Overall TikiWiki seems to be reasonably similar to Wordpress etc. that it should work, but I am quite inexperienced with these things.&lt;br /&gt;
&lt;br /&gt;
I am going of the second example for function qa_get_logged_in_user() as userids are stored as numeric values and TikiWiki seems to create a session cookie.&lt;br /&gt;
&lt;br /&gt;
However I have run into several issues:&lt;br /&gt;
&lt;br /&gt;
1. The cookie that seems to be created by TikiWiki (called PHPSESSID) only contains a single value that looks like a some sort of hashed random string. Normally there should be the userid, right?&lt;br /&gt;
&lt;br /&gt;
1.1. If I set the if &amp;quot;(isset($_COOKIE['sessionid'])) {&amp;quot; to 'PHPSESSID' the Q2A page fails to load due to an database error. I guess this is just because it can't understand the above hashed value and tries to find a userid with it?&lt;br /&gt;
&lt;br /&gt;
2. Tikiwiki by default has a session storage location defined in the php.ini, but being on a shared host I don't have direct access to the php.ini. There is also a option to store it in the database as the Q2A example seems to assume, but somehow this seems to be broken in TikiWiki as when I select that I can't log in anymore. Is there another way of doing this?&lt;br /&gt;
&lt;br /&gt;
I hope someone here has an idea about this, as I seem to be well over my head on this :( Thanks for the help in advance!</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/63577/sso-config-session-cookie-hashed</guid>
<pubDate>Wed, 18 Apr 2018 14:26:02 +0000</pubDate>
</item>
</channel>
</rss>