Displaying a client side error message after Google Account Connect attempt ⚠

Hi there,
I’ve set up a server side error handling for when a non-registered user tries to login with a google account (below). But how do I display a quick “popup” or toast message on the client side when the error occurs?

In the success event of the login server connect, use a flow that has a conditional toast when noSuchUser has a value. In the toast, display a message.

Thanks Ken,
The flow of the SC is not run because user leaves the login page when hitting Google Connect due to a href Server Connect route in the anchor button. So no toast due to no SC success.
What would be a workaround?

<a href="dmxConnect/api/Admin/userLoginGoogle.php" class="btn w-100 shadow mb-1 bg-white" style="color:#20252a !important">
<img src="assets/images/google-color.svg" width="18" height="18" class="mb-1"> &nbsp;Connect with Google</a>

Pass a redirct url to the client, and use a browser component to redirect instead of doing it server side. In the flow, evaluate whether or not to redirect or notify, etc.

Thanks,
I did not quite get it but we found a way: using a url parameter ?status=nouser so we display an alert when query.status=='nouser'