corbado/javascript

Provide appropiate warning message if social abort.

Opened this issue · 0 comments

Why

This ticket needs BE support and is therefore a follow-up for this ticket .

Currently if cancelling/aborting a social signup/login, the backend just trows a unknown error and a user just see a "Something went wrong" warning message as top error. We want to show the user that we noticed a abort, but show a more specific and less "error-like" warning message.

Figma Draft

TODOS

At a user aborts a social signup/login, the BE will throw an error indicating what social account was aborted.

  • If the error is thrown, show following error message and replace with the name of the social service.
  • Show the appropriate icon and make sure the error message looks as drafted in the Figma
    NOTE:
    Leave the position of the error message as it is (e.g. if it's on top, leave it on top)