Automatic blog authentication when using Advanced Login Syst

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
akimbocoug
Posts: 4
Joined: Wed Sep 17, 2008 5:08 pm

Automatic blog authentication when using Advanced Login Syst

Post 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!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Automatic blog authentication when using Advanced Login

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
akimbocoug
Posts: 4
Joined: Wed Sep 17, 2008 5:08 pm

Thanks for your info!

Post 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!
Post Reply