Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need to completely replace WP's login form with the login form of an external service.

The actions and filters I've found (eg login_form, login_head) seem to rely on WP's login process starting. I suppose I could do a redirect from here, but is there a cleaner way of sending a user to another URL if they attempt to browse to a WordPress login page.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

Short and simple: No. You'll find a lot of stuff for wp-login.php on trac, but it seems that it won't change.

share|improve this answer
    
i'm thinking about just using the authenticate filter which seems to get called before the any login action takes place and controlling everything there. –  anu Feb 16 '11 at 15:16
    
Sound like a good plan. –  kaiser Feb 16 '11 at 15:22

I'm working through how I'm doing this over on this question: SSO / authentication integration with external 'directory service'

share|improve this answer

In Wordpress 3.2 you can hook in login_init and redirect from there.

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.