Social login cancel redirect url

Hi all,

We use keycloak to login with social media by giving redirect url as below.

/auth/realms/MyRealm/protocol/openid-connect/auth?client_id=my_client&redirect_uri=http%3A%2F%2Flocalhost%3A4000%2Fsso-callback&response_type=code&scope=openid&kc_idp_hint=linkedin

When user sign in with linkedin successfully, keycloak redirects to my site (localhost:4000/sso-callback)

The problem is: if user clicks cancel button in linkedin, it redirects to keycloak. We don’t want to show keycloak’s page in this situation.
Is there a way to redirect it to my website when social login cancelled, example (localhost:4000/cancelled)