Reset password - identity providers

Hello,

We have keycloak configured with google/microsoft identity providers. Use (creation) of internal users (local DB) are also allowed.

When a user has used (for example) a google account, when he comes back, if he clicks on “reset password”, an email is sent allowing him to reset password. Next the internal password is resetted but if he try to login with this email address, it does not work, because account is linked with google.

My question : how to prevent and notify a user that resetting the password must be done using google website because the account is google and not internal ?

thanks
sekapiet