Allow to check whether a username/password would be accepted by Ory without actually registering a user
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [X] This issue affects my Ory Network project.
- [X] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
Describe your problem
We want to give users that sign up for a new account a green or red signal, whether their provided email and password are acceptable, before they actually submit their credentials. This gives them a better user experience with early feedback.
Many signup forms show you the rules your password needs to follow and show you a green sign, once you obey to all the provided rules. Since Ory does not simply follow some simple rules (at least a char and a number etc.), it's hard to implement something similar. So right now we have to create the account and then report the error back to the user after he submitted the signup form. Instead we would like to give the user a feedback once he stoped typing for a little while.
Describe your ideal solution
An API that accepts a Username and a Password and gives back a yes/no answer, whether the given credentials would be accepted for a new account.
Workarounds or alternatives
Try to create the account without checking beforehand
Version
current REST API
Additional Context
Old issue in Kratos: https://github.com/ory/kratos/issues/136
Verifiers SHOULD offer guidance to the subscriber, such as a password-strength meter [Meters], to assist the user in choosing a strong memorized secret. This is particularly important following the rejection of a memorized secret on the above list as it discourages trivial modification of listed (and likely very weak) memorized secrets [Blacklists].
from https://pages.nist.gov/800-63-3/sp800-63b.html#-5112-memorized-secret-verifiers
That makes sense to me!
Could also be very helpful for dry run imports (on the admin API).
--
Klaus Herrmann | Product Management | @.*** | +49-1522-9409636