MyBB Community Forums

Full Version: How to insert user data in the database? for account integration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
First of all, I was try to integrate main site and mybb forum.
But, It is quite difficult, because I have one main site and two child site.
All of them made by JSP(Spring Framework) and I had been integrated SSO using CAS for each site's SSO.

Now, I construct forum by MyBB. I think between main site with MyBB using CAS is impossible. Maybe It is depend on CAS support.

So, I hope that main member data insert in MyBB database.
I means that when user register on main site then some batch program insert user data in MyBB database.

MyBB users table is simple, username, password ...etc.
But, I don't know salt, loginkey field. How to make that values?
And Just insert mybb_users table? or need to related table ?

Please, inform to me. if you have any idea or solution.
Thanks.

(I am so sorry. my mother's tongue is not a English)
I would love to see CAS support in MyBB. You can probably easily do it with a plugin, when a ticket is received, call /cas/serviceValidate, passing the service url and ticket back. CAS will reply with the username if successful. You can leave salt blank and just insert an md5 password in the password field, but for CAS, you shouldn't need this. CAS never returns credentials (unless using clearPass).