WordPress.org

Making WordPress.org

Opened 4 years ago

Closed 3 years ago

#1422 closed defect (fixed)

Trac login doesn't redirect back to Trac

Reported by: ocean90 Owned by: 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
4 years ago

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

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

#3 @ocean90
4 years ago

Related: #1423

#4 @stephdau
4 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
4 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
4 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
4 years ago

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

#8 @ocean90
3 years ago

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