Upgrade v16 to v18 (wildfly) -- auth-script-based execution

Hi,

I’m in the process of upgrading our v16 installation to v18. Due to project restraints, we’re still using the Wildfly version.

Otherwise everything worked well, but when I try to open up the Authentication flows view in admin UI I get an error. It turned out that my custom authentication execution caused the problem as it was a piece of JavaScript added via v16 UI. I managed to work around the problem via removing the problematic execution from authentication_execution database table.

My question is (as I have four more environments where I need to do the same): what would be the “proper” way of removing this custom execution from Keycloak because v18 admin UI breaks when I try to open the authentication view?