How is logout really working and can we bypass the logout-confirm page?

Hello.

We use the version 18.0.2.
Trying to logout by opening the address (from our NextJS app by router): https://ourkeycloak/realms/myrealm/protocol/openid-connect/logout?id_token_hint=eyJhbG&post_logout_redirect_uri==http%3A%2F%2F127.0.0.1%3A3000%2Flogin%2F

Redirect URI also listed
(the address is unimportant, even if the localhost is any other specified in the list of redirects, the error will be the same)

We get an error: Invalid redirect uri

Can you please tell me, maybe there are some parameters or settings missing?
Thank you in advance

P.S
we have the id_token in the client. therefore we know it and transmit it correctly