\[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
Wie kann dieses Problem gelöst werden? Ich habe einige Lösungen gelesen und sie erfolgreich angewendet. Aber nachdem ich die Adresse zum Abrufen des Tokens erneut angegeben hatte, trat es erneut auf.
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“