LoginWithRedirect: No error or return when login/password user hasn't validated his account
Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.
Thank you in advance for helping us to improve this library! Please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Describe the problem
When logging in with a login/password method, and the account is not validated yet via the email link, the auth process just stop without throwing an error nor returning a 401
What was the expected behavior?
something must be returned, preferably an error
Reproduction
Detail the steps taken to reproduce this error, and whether this issue can be reproduced consistently or if it is intermittent. Note: If clear, reproducable steps or the smallest sample app demonstrating misbehavior cannot be provided, we may not be able to follow up on this bug report.
- Step 1..
- Step 2..
- ...
Can the behavior be reproduced using the React SDK Playground?
If so, provide steps:
Where applicable, please include:
- The smallest possible sample app that reproduces the undesirable behavior
- Log files (redact/remove sensitive information)
- Application settings (redact/remove sensitive information)
clientIdanddomain(these are publicly available)- Screenshots
Environment
Please provide the following:
- **Version of
auth0-reactused: 1.10.2 - **Which browsers have you tested in? firefox, chrome
- **Which framework are you using, if applicable (Angular, React, etc): react
- Other modules/plugins/libraries that might be involved: