Cannot read properties of undefined (reading 'id'). This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again.
Context
When running the command that makes the login against our Sandbox org, it redirects to a localhost URL and then it display an error that doesn't give us so much information
sfdx auth:web:login -a myuser@abc.com --instanceurl=https://xxxxx--xxxxx.my.salesforce.com
The error
Cannot read properties of undefined (reading 'id')
This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again.