|
|
Joined: Jan 2004
Posts: 9
Lurker
|
Lurker
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.
|
|
|
|
Joined: Dec 2000
Posts: 1,471
Addict
|
Addict
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
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!
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|