Jump to the post that solved this thread.
Solved: 5 Years, 3 Weeks ago Auto login from another website
Solved: 5 Years, 3 Weeks ago Question 
Hi Total NOOB here

I've got MyBB with SQLIte all working perfectly, it's a cracking piece of software.

I have a website that requires the users to login, once in I want them to be able to click a link to go straight to MyBB without having to login again 
IE one login to both Website and MyBB


Solved: 5 Years, 3 Weeks ago
It won't be possible if you are using SQLite instead of MySQL. Except if both websites are on the same server and both have access to the SQLite file, which I doubt.

If you migrate to MySQL, it is possible but it will require some work. You may want to ask on "Plugin requests" forum with detailed information about the non-MyBB site. But do not excpect it for free.
Solved: 5 Years, 3 Weeks ago

I was kinda hoping for something like this :-

myWebsite user + password = martii + orange
myBB user + password = martii + orange

Setup so that both have the same details.

Then when logged into my site have a link a bit like this :-


Solved: 5 Years, 3 Weeks ago
You don't send user and password thought the URL, NEVER.

Btw, that's not how it should work. That scheme will require the user to use always the same password for both sites, and any user will ever care about that. The way to go is to create some custom code to change password in both sites if you change it in any of them... that includes passwords resets, manual password change by user, ACP password change, etc...

Then, the login on MyBB site and vice-versa could be achieved by a cross-domain AJAX request. There are many ways to do this, but I think this would work fine and it's not that difficult to implement. I never did it, so maybe I missed some cons.
Jump to the post that solved this thread.

Forum Jump:

Users browsing this thread: 1 Guest(s)