Configuración de oauth2, IP denegada, ¿cómo solucionarlo?

\[root@HDDXVZ4023 discourse_docker\]# tail -f /var/discourse/shared/standalone/log/rails/production.log

Body:

client_id:
client_secret:
grant_type: authorization_code
code: zeyHxfhcvSIzMiw
:redirect_uri: https://\\\\\\\\\\/auth/oauth2_basic/callback

(oauth2_basic) Authentication failure! FinalDestination: all resolved IPs were disallowed: OAuth2::ConnectionError, FinalDestination: all resolved IPs were disallowed

¿Cómo se resuelven este tipo de problemas? He leído algunas soluciones y las he aplicado con éxito. Sin embargo, el problema vuelve a aparecer después de volver a especificar la dirección para obtener el token.

FINAL_DESTINATION_ALLOW_PRIVATE_IP: “true”
FINAL_DESTINATION_ALLOWED_IPS: “0.0.0.0/0”
DISCOURSE_FINAL_DESTINATION_ALLOWLIST: “0.0.0.0/0”
DISCOURSE_ALLOWED_INTERNAL_HOSTS: “\\\\\\\\\\|0.0.0.0/0”

Se investigó y se determinó que se debe a que DISCOURSE_ALLOWED_INTERNAL_HOSTS y redirect_uri no coinciden. La configuración es válida.