Invalid parameter value for redirect_uri: Raw IP addresses not allowed: http://0.0.0.0:48452/connect/google/callback

thank you for replying.

this is my server.js

module.exports = ({ env }) => ({
  host: env('HOST', '0.0.0.0'),
  port: env.int('PORT', 1337),
 // url: 'events-pr-back.herokuapp.com',
  admin: {
    auth: {
      secret: env('ADMIN_JWT_SECRET'),
    },
  },
});

the ADMIN_JWT_SECRET is existed in my .env file.
this alone wouldn’t fix the issue as the same error pressiste.

if i change the host from
host: env(‘HOST’, ‘0.0.0.0’),
to
host: ‘events-pr-back.herokuapp.com’),
results in: address not available error

if i add
url: ‘events-pr-back.herokuapp.com’,
results in no error… the server is on but navigation to /admin end with ‘not found’
and at google error showing the server address as 0.0.0.0/events-pr-back.herokuapp.com

so: i guess the host value should point to the cdn but end with loop error instead.

i have found 1 post with the same issue as this at
Strapi fails to start on using HOST env variable - Questions and Answers - Strapi Community Forum
but the answer like is not working.