Configure third -party social account login failed

When the third -party application is equipped, jump to the forum, prompting the error Sorry, there was an error authorizing your account. Please Try Again.
What causes this?
The reference configuration third -party application is as follows:
https://meta.discourse.org/t/configuring-Facebook- login-discourse/13394
https://meta.discourse.org/t/configuring-discord- login-discourse/127129
But there are still the same problem described above
Thank you any help