Log in

View Full Version : How do I authenticate a user into vB


denniss
08-19-2006, 05:00 AM
vB 3.5.4

Hi, I have a php application that I've developed. I already have my own authentication system.

When a user signs up for my application, I automatically create a vB account for them. But I want to authenticate them so that they can go into vB without being asked for a username and password.

So, they log into my php application, and they can then click on a link that takes them into vB w/o being asked for username and password.

How do I do this?

I can't believe no one knows how to accomplish this.

Billspaintball
08-24-2006, 12:30 AM
Try doing it the other way around using the vB login system for your application.

See my sig (simple login) for a sample.

denniss
08-25-2006, 04:50 PM
Unfortunately, we'd already had our own authentication code in place before we tried to integrate vB. It'll be some work to rip our ours and use vB. That is an option.

I have authentication into vB working, but it is "cheezy". and not the best way to do things. I basically create a form, populate it with username & password and submit it via javascript to login.php.