Page 1 of 1

Automatic blog authentication when using Advanced Login Syst

Posted: Wed Sep 17, 2008 5:25 pm
by akimbocoug
I have a site that uses Advanced Login System (ALS) (http://www.iqueststudios.com/category/i ... d-updates/) in order to authenticate users and allow access to the site. It is a MySQL/PHP based authentication system that allows me to have multiple users with unique usernames/passwords. These same users also have usernames/passwords for a serendipity blog found within the password-protection coverage of ALS. I would like to figure out how to set the appropriate cookies/session when logging into ALS so that those same users are automatically logged into the blog as chief editors and no further authentication is necessary. Is there somebody who can give me some direction on this matter? While I am no expert on PHP/writing my own script, I usually am able to figure things out. I am at a loss on this one however so any help would be great! Thanks!

Re: Automatic blog authentication when using Advanced Login

Posted: Thu Sep 18, 2008 11:31 am
by garvinhicking
Hi!

s9y uses its own authentication scheme. You cannot simply set a cookie or session, you need the appropopriate entries in your serendipity_Authors table.

This can only be done through either MySQL5 VIEWs on your actual tables or through proxying authentication data, like the serendipity_event_externalauth plugin does.

HTH,
Garvin

Thanks for your info!

Posted: Thu Sep 18, 2008 1:15 pm
by akimbocoug
s9y uses its own authentication scheme. You cannot simply set a cookie or session, you need the appropopriate entries in your serendipity_Authors table.

This can only be done through either MySQL5 VIEWs on your actual tables or through proxying authentication data, like the serendipity_event_externalauth plugin does.
Thanks for your info!