AuthPage does not handle any errors

Does the default AuthPage do any error handling by default ?

I return an error in my authProvider login() function like this:

return {
    success: false,
    // error: new Error("Invalid email or password"), // first example in docs I saw
    error: {
        name: `Could not log in`, // second example
        message: String((error as any)?.message || error || `Error`)
    }
};

But the error does not appear on screen.

To show the errors to the user is it required to swizzle this component ?
I'm using the headless UI mode.
Are the errors shown through notificationProvider ?
Was this page helpful?