Help with Withings Integration

I am having issues with the integration of Withings using the official integration. I have Nuba Casa.

When I click on the OPEN WEBSITE", my browser opens a new tab that says:
Client id not authorized

My YAML:

withings:
  client_id: WITH_CLIENT_ID
  client_secret: WITH_CONSUMER_SECRET
  use_webhook: true

I followed the instructions and made a Withings dev account. I followed all the steps here:

Troubleshooting I have done:
2. Double checked my password and login for the dev account. Works fine
3. Checked my call back URL in my browser. It said Missing code or state parameter in https://MYID.ui.nabu.casa/auth/external/callback
4. Double checked I didn’t mix up my Client Id and Consumer Secret. Both are good.
5. Tried with and without use_webhook: true
6. Double checked my Nuba casa url. Works fine. Other integrations using Nuba Casa work fine as well.
7. Restarted a ton of times
8. Tried completing the integration in firefox, chrome and edge in cause of cache issue. No luck
9. Validated my configuration. It is fine.

Any help would be appreciated.

The error messages from withings are not very helpful.
For me, the problem was that the integration did not send the external url to withings, and the certificate did not match.
After I fixed that, it came up with no problem. But I don’t use Nabu Casa, so I don’t know how that works.