Error 400: invalid_request Invalid parameter value for redirect_uri: Raw IP addresses not allowed: http://0.0.0.0:31822/connect/google/callback

You should define your public url into the Google, inside the
Authorized redirect URIs

Take a look at the Google example sections:
https://strapi.io/documentation/v3.x/plugins/users-permissions.html#providers