I really hope you really didnt rewrite Keycloak in a few days using AI tools and use it in any way professionally or production.
If you did, please do an urgent meeting with your team and dont tell anybody, just fix it. When shit hits the fan, it really hits hard.