Victor, do you know if the google.com/recaptcha/enterprise.js script introduced any bugs recently? The const token = await grecaptcha.enterprise.execute('KEY_ID', {action: 'LOGIN'}); method always returns a null token, even when setting the proper key, and the token is actually received on a later ajax call after that event.
I'm getting a similar problem, in my case the recaptcha badge appears and succeds, but the token is always null. Even when switching from the awkward await method to the standard JS promise, the token returned is null. It seems the function fires too early somehow.