myBB and Integrations

2

Posted by Osvaldo Rosado | Posted in Websites | Posted on Apr. 01, 2009

Tags: , , ,

As you may or may not know, Screeze is powered by myBB and I’ve had no problems with it.

However, now it comes time I want to make a sub-site for Screeze and implement a Single Sign-On system only to be faced with the harsh reality that myBB is way behind the other board softwares in this sort of thing.

I found no bridges for myBB or anything at all that would help me make a SSO system, so I made my own.

I spent about 5 days learning about OpenID and making an implementation for myBB so I could share Screeze’s user information.

The way I made the implementation was by altering phpMyID. My solution does not use Screeze’s DB at all. Rather, it checks the login cookies to see if your logged in, and if you are it sends out the OpenID with your username. If you aren’t logged in, it allows you to by opening a window with a login form and going back a page in the browser to let you try the OpenID again.

This of course is much more streamlined in the subsite, since I have more control over everything.

So, Screeze users, consider this an early preview of the full surprise. You now all have OpenID’s. Your OpenID is in the following format:

http://screeze.com/USERNAME

Comments (2)

So does it make the size a proper OpenID provider or just allow multiple MyBB installs to share logins? Or neither?

Have you considered open-sourcing the code?

It makes the site a proper OpenID provider.

I have considered sharing the code but there are some parts of it that aren’t as simple as uploading a file(Note that it does not use MyBB’s plugin system at all). Redirects via htaccess and such need to be set up.

If you’re interested you can contact me at webmaster@osvaldojr.com and I could help set up a similar solution on your own site.

Write a comment