Making WordPress.org

Opened 9 years ago

Closed 9 years ago

#1422 closed defect (bug) (fixed)

Trac login doesn't redirect back to Trac

Reported by: ocean90's profile ocean90 Owned by: stephdau's profile stephdau
Milestone: Priority: normal
Component: Login & Authentication Keywords:
Cc:

Description

https://core.trac.wordpress.org/login or https://meta.trac.wordpress.org/login doesn't redirect to Trac after an successful login. Instead you get redirected to https://wordpress.org/support/.

Change History (8)

#2 @Otto42
9 years ago

cc @stephdau (this is what I was referring to earlier in the lobby)

Last edited 9 years ago by Otto42 (previous) (diff)

#3 @ocean90
9 years ago

Related: #1423

#4 @stephdau
9 years ago

Thanks gang. That's a side-effect of #1406, brought by the fact that I don't have access to the Trac codebase and handling (and therefore couldn't sandbox it to find that before going live).

The fact that it redirects to support is because of the redirect_to parameter when TRac redirects to https://login.wordpress.org/wp-login.php?redirect_to=https://wordpress.org/support/

On it. :)

#5 @stephdau
9 years ago

In 2150:

WPORG SSO (login.wordpress.org):

  • Adding an WPOrg_SSO::has_host() method to test if we have $_SERVERHTTP_HOST?
  • Testing for WPOrg_SSO::has_host() before proceeding,no need to if we don;t have one (EG: cron'd processes)
  • Adding a $_SERVER['HTTP_REFERER'] test to WPOrg_SSO::_get_safer_redirect_to(), which now also enables SSO for our Trac instances (see #1422) and improves it for our BB instances (see #1423).

#6 @stephdau
9 years ago

  • Owner set to stephdau
  • Status changed from new to accepted

All set. We now have Trac handling by our SSO as well.
Thanks again for the report. :)
I'll let you close the ticket if you 're happy with the solution.
Let me know if not.

#7 @netweb
9 years ago

@stephdau Thanks, bbPress, BuddyPress work as expected now +1

#8 @ocean90
9 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.