Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Automatic login

Quote Reply
Automatic login
I have a user based website and want to pass my users directly from the website to Gossamer mail without them having to go through a second login process at all. (user names and passwords are the same in both databases of course).

Is there a list of variables I can simply post to a URL, or is it more complicated than that?
Quote Reply
Re: [kiltros] Automatic login In reply to
Hi kiltros,

I tried something like that by passing username=, password=, t= and domain= to login.cgi with a link and it seemed to work fine. I never went live with it so it didn't get tested very well. Your other option would be to write a plugin similar to Auth_VBulletin that auths off of your existing member database.

Regards,
Charlie
Quote Reply
Re: [CP] Automatic login In reply to
Thanks Charlie,

That seems to work fine through my browser, now to implement it in the website!

p.s. Anyone think there's something I should know about using this method regarding security?
Quote Reply
Re: [kiltros] Automatic login In reply to
It's not very secure Tongue Their username and password are being passed around in plaintext in the url, and secondly, the url with their username and password will be in their browser's history. Best solution would be a authentication plugin...


Adrian