Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Cobega - joulukuu 09, 2013, 03:32:22 IP

Otsikko: External SMF Login
Kirjoitti: Cobega - joulukuu 09, 2013, 03:32:22 IP
hello community;

I am working on a project, using my own login system. Forum registration is deactivated. After a user is logged into on my page, there should be a possibility to log into forum to log into forum too; but without entering all login details again. Provides SMF any method for this "external login"?
Otsikko: Re: External SMF Login
Kirjoitti: Arantor - joulukuu 09, 2013, 03:39:26 IP
There are methods but I'm not necessarily sure that's a good thing.

SMF's methodology is well tested, well proven, hardened against things like session fixation bugs. Is your login system proven the same way?

Is it an existing system? Might there already be a bridge?
Otsikko: Re: External SMF Login
Kirjoitti: Kindred - joulukuu 09, 2013, 03:39:47 IP
http://wiki.simplemachines.org/smf/Category:Integrating_SMF
Otsikko: Re: External SMF Login
Kirjoitti: Cobega - joulukuu 09, 2013, 03:51:11 IP
as I see there are just methode s and help filest not for my current problem. Setting all sessions in my own script is possibly, but we all are lazy. Vbulletin offers a hack named "External login" but I hate Vbulletin.
Otsikko: Re: External SMF Login
Kirjoitti: Arantor - joulukuu 09, 2013, 03:55:37 IP
If you set the sessions yourself it probably won't work.

There is already a way for exporting logins if SMF itself remains the primary system, which is easy to use and requires almost no work on your part other than including SSI.php and maybe altering some of the settings depending on what you're trying to do.

But of course, the more detail you provide, the more help you'll get.
Otsikko: Re: External SMF Login
Kirjoitti: Kindred - joulukuu 09, 2013, 04:10:05 IP
and that wiki page deals with three different methods to link a system to SMF...