Mismatch in environment behaviour - logout not working

Our logout calls are currently failing in one environment (production) and not in the other (development).

There are two endpoints for logging out:

/v2/logout

/oidc/logout

v2 works in dev, not in prod.

oidc does not work in dev.

Could someone please help to explain or help fix why v2/logout on our prod tenant doesn’t work but in dev tenant it does?