vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Single login/logout across different domains (https://vborg.vbsupport.ru/showthread.php?t=174093)

dfc005 03-25-2008 03:42 AM

Single login/logout across different domains
 
I'm going to be using the same forum across multiple domains we have with each site linking to and including certain parts of the forum.

Does someone have a hack or a mod that allows a user to login in one site, which would then enable them to be logged in on the other sites? And likewise, when they logout on one site, they are then logged out on the other sites when they visit?

Cheers!

nevetS 03-25-2008 03:56 AM

vb's Authentication system uses cookies, and you can't have cookies working with multiple domains. Multiple sub-domains, yes. Multiple domains, no.

You could build an authentication system outside of vb to do this, but considering the strong possibility that it would involve multiple servers, this is a more difficult task than you would think.

I don't know of any SSO or external authentication systems for vBulletin. I have built one myself using perl that authenticates against the vB database, but I don't think you'd find it very useful, or even very thorough (certainly not well documented at this point).

dfc005 03-25-2008 04:05 AM

Hmmm, thanks for the reply. We currently have our own login system built which sets the cookies on the "parent" server and logs the user in there. When they visit a "child" server, it first checks if they are logged in on the "parent" server and if so, tells the "child" server they can allow the user to login.

Guess I'll have to do a similar thing here.

--------------- Added [DATE]1206493508[/DATE] at [TIME]1206493508[/TIME] ---------------

Can someone give me a quick overview of how I could call the vB login function if I have a users username and password?


All times are GMT. The time now is 02:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00946 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete