Skip to content

Redirect location port from request#175

Open
ajtucker wants to merge 1 commit intomasterfrom
issue/174-logout-redirect-port
Open

Redirect location port from request#175
ajtucker wants to merge 1 commit intomasterfrom
issue/174-logout-redirect-port

Conversation

@ajtucker
Copy link
Contributor

Add test for redirect location.
Add any non-default port from request.

Fixes #174.

Add any non-default port from request.
@ajtucker ajtucker linked an issue Dec 12, 2022 that may be closed by this pull request
Copy link
Contributor

@der der left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, don't think this works.

When running raw then indeed the port in the request is correct and you can redirect this way.

However, in the "normal" case when running behind a proxy server the port seen by the registry in the request and the port exposed to the user are generally different. So I think (but haven't tested) that this change would break normal deployments. Am I missing something?

@ajtucker
Copy link
Contributor Author

ajtucker commented Dec 19, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logout redirect should use request port or relative URI

2 participants