Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2004
Posts: 9
Lurker
Lurker
Offline
Joined: Jan 2004
Posts: 9
Before I begin going through and modifying a lot of code... I was hoping someone else has already done this.

I'm trying to setup Threads in a single sign on enviro. The DB Threads is using looks pretty straight forward, and I just need to keep a sep. table that relates our user IDs with the ones in Threads.

How do you change Threads to accept auto registration (the first time at least) and then auto-login afterwards? In other words, I want my users to enter into our main site, and when clicking a link to use Threads, community, I want them automatically logged into the community. Any help or recommendations would be great! Thanks in advance.

Sponsored Links
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
That depends on the usermanagement you're using in your community.
I've done something similar on my site.
If you are logged in via SSO, ubb.threads will notice that and log you in aswell.
If you log into ubb.threads, the SSO session is also created.

I'm using a login_handler class for this. So I only need to add a few lines to ubb.threads and load another class.


Basically, you have to create the ubb.threads cookies or session within your SSO-script and create your SSO session within the ubb.threads login function.

Joined: Jan 2004
Posts: 9
Lurker
Lurker
Offline
Joined: Jan 2004
Posts: 9
Thanks Astaran.

I figured it would be something like that. I'm new to UBB so it's a matter of figuring out how to create those sessions/cookies for UBB and authenticating the users seemlessly.

This is almost a "custom" SSO script. Seperate domains, Web servers. So when a user clicks a Forum link on one of our pages, I grab their unique ID and pass that onto UBB. I guess I'll have to write some "middleman" object to handle the login and authentication for UBB. That's what I was trying to avoid 8-)

Thanks again!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)