KNowledgeOnWebScale / solid-authentication-browser-extension

10 stars 1 forks source link

Show error message when logging in failed #25

Closed pheyvaer closed 1 year ago

pheyvaer commented 1 year ago

When the email is wrong the response is

{
    "name": "AssertionError",
    "message": "Account does not exist",
    "statusCode": 500,
    "stack": "..."
}

When the email is correct, but the password is wrong the response is

{
    "name": "AssertionError",
    "message": "Incorrect password",
    "statusCode": 500,
    "stack": "..."
}

When the IDP is incorrect then there are multiple options: