Sign-up: Receiving multiple errors in response

Hello.
I’m using Universal Login witn custom template was built in nextjs.

I’ve conducted some tests to reproduce the error.

Currently, I’m encountering the following error messages when the “Use a generic response in public signup API error message” option is enabled:

Wrong email or password,
Email domain is prohibited,
Password is too weak,
Invalid sign up (when username or email is exists)
Sig in:
Wrong email or password.

Sign up:
Email domain is prohibited
For the following scenario, the error message is displayed:

username: is unique, email: is forbidden, password: is strong
Password is too weak
For the following scenarios, the error message is displayed:

username: is exists, email: is exists, password: is too weak,
username: is exists, email: is unique, password: is too weak,
username: is unique, email: is exists, password: is too weak,
username: is unique, email: is unique, password: is too weak,
username: is unique, email: is forbidden, password: is too weak,
username: is exists, email: is forbidden, password: is too weak
Invalid sign up
For the following scenarios, the error message is displayed:

username: is exists, email: is unique, password: is strong,
username: is exists, email: is exists, password is strong,
username: is unique, email: is exists, password: is strong,
username: is exists, email: is forbidden, password: is strong)

But I’m only getting one error in each response. Can I get multiple errors in a single response?

For example:
Email domain is prohibited,
Password is too weak,
Invalid sign up (when username or email is exists)
in one respomse.

Hi @serhii.holub

Welcome to the Auth0 Community!

Thank you for posting your question. Unfortunately, it’s not possible to combine all responses into a single one, but it’s a great idea. I would encourage you to open a new thread in the Feedback category explaining your use case and feature.

Thanks
Dawid