Error 400: invalid_request - Loopback IP

When trying to add a gmail accoun the error below so it seems some new restriction from google

## Error 400: invalid_request

The loopback flow has been blocked in order to keep users secure. Follow the Loopback IP Address flow Migration Guide linked in the developer docs below to migrate your app to an alternative method.

Setup

Kubuntu
mailspring 1.10.3

updated to 1.10.5 and now it works