[MacPorts] #52709: GitHub login redirects to main Trac page instead of the page I was on
MacPorts
noreply at macports.org
Wed Oct 26 18:45:57 CEST 2016
#52709: GitHub login redirects to main Trac page instead of the page I was on
-----------------------------+---------------------
Reporter: ryandesign | Owner: admin@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Resolution: | Keywords:
Port: |
-----------------------------+---------------------
Comment (by raimue):
Note that using `/login` adds another a redirect to `/github/login` first.
I only added that because of [https://github.com/trac-hacks/trac-
github/issues/95 trac-github#95]. The link in the navigation points to
`/github/login`.
I can reproduce this with a browser session that was never logged in.
The original URL seems to be lost in trac-github with the redirects to
GitHub for authorization and then back to the callback URL. The
LoginModule will try to redirect back to the referer, which will probably
be empty or the GitHub URL (have not checked). Therefore
[https://trac.edgewall.org/browser/branches/1.0-stable/trac/web/auth.py#L253
this redirect] drops the user to the front page without a better target.
--
Ticket URL: <https://trac.macports.org/ticket/52709#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list