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

One Time Token Error Message #16473

Open
danvega opened this issue Jan 23, 2025 · 1 comment
Open

One Time Token Error Message #16473

danvega opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels
in: web An issue in web modules (web, webmvc) type: bug A general bug
Milestone

Comments

@danvega
Copy link

danvega commented Jan 23, 2025

I'm trying to test out One Time Token Authentication and I came across an issue. If I tried to login with a user that was not in the system I would get taken back to the login screen and the username would be displayed as an error above both the form login and ott login.

Image

If I logged in with a user that was available in Spring Security everything worked as expected.

@danvega danvega added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels Jan 23, 2025
@rwinch
Copy link
Member

rwinch commented Jan 24, 2025

Thanks for this report @danvega! The error message should still be a generic failed to authenticate error message so we don't leak any information about the users that exist or don't. However, I agree that this should not be displaying the username as the error message.

@rwinch rwinch self-assigned this Jan 24, 2025
@rwinch rwinch added in: web An issue in web modules (web, webmvc) and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 24, 2025
@rwinch rwinch added this to the 6.4.3 milestone Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: bug A general bug
Projects
Status: No status
Development

No branches or pull requests

2 participants