Login redirect to referring page


I am certain this question has been asked before, but... :wink:

I have a network of sites, using domain mapping and multisite plugins. I would like to forward all login attempts, network wide, to a single login page on my base domain (for SSO purposes).

But after login, I would like users redirected back to the page they came from, wherever it was on the network.

Sure this has been done before. I've checked out a few plugins. Peter's Login/Logout plugin in general repository, but I'm just uncertain what I should do.

Any help would be great :slight_smile: