Redirect URL (to app) - after the action is done successfully

The application is written in Flutter, using the plugin flutter_appauth (in order to communicate with OAuth 2.0 and OpenID Connect).
Looks to me that everything is defined , the clientId, baseurl, realms, the redirect URI, i’m able to login, logout.
But now i’m trying to implement a way to give the user the ability to remove it self from the system.
According to this :

I can use this stracture of link to give the user the ability to remove it self from Keycloak. (And it’s working!) I have chnaged the action “update_profile” to “delete_account”.
When I already logged, when I invoke the function that opens the address
${keycloakBaseUrl}protocol/openid-connect/auth?response_type=code&client_id=${keycloakClientId}&redirect_uri=${keycloakRedirectURI}&kc_action=delete_account"

I have to login again (which is normal), after it redericts me to the pgae to confirm deletion, after it removes the user,it says “user deleted successfully” but not redericts me back to the app as it should be. (in login it’s redirects back to the app )

What could be the problem?

Thank you :slight_smile: