Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I'm considering installing Wordpress at example.com/blog. However, example.com functions mainly as a forum/bulletin board, and thus has a user database. I'd like users of example.com to be able to login to the Wordpress install with their existing credentials. Is that in any way possible? This is further complicated by the fact that example.com is written in .NET and uses a Microsoft SQL Server database.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I haven't tried it but this plugin seems to be what you need: External DB authentication.

share|improve this answer

Can the forum act as an OpenID provider? Wordpress accept OpenID logins (this requires a plugin). With a bit of a hack, you could tweak the OpenID login plugin so that instead of offering the normal options (standard login, OpenID URL), it immediately fills in the OpenID URL of the forum's OpenID endpoint, and then submits it. That means that no one ever sees the Wordpress login page: they're immediately redirected to the forum and then, if they're already signed in at the forum, they're redirected straight back to Wordpress, this time as logged in users. If they're not logged in at the forum, they'll log in there and continue back to Wordpress.

This requires that the forum implements OpenID in such a manner that everyone has the same endpoint. This is doable.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.