Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider adding query string to login url in LoginUrlAuthenticationEntryPoint #15741

Open
travisbikkle opened this issue Sep 5, 2024 · 0 comments
Labels
status: waiting-for-triage An issue we've not yet triaged

Comments

@travisbikkle
Copy link

Is it a good idea to add query string to line 157 as well as line 188 (the redirect http to https logic)?

It makes sense the query string is needed when we redirect the request from http to https, we need keep them.

But if query string is added to https, then http should also be added, right?

If there is something worth to keep while using https, why should it be thrown away in http?

People(me) might want to keep the client_id query string within the form login request and filter malicious login request by client id or show a different login page according to it.

With this line added, it could be much easier and I don't see the downsides, cause query string doesn't harm.

Let's talk about it please.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

2 participants