hexo gitalk 报错 redirect_uri_mismatch

最近使用 gitalk 登录时候报错,跳转到设置的回调地址,并且带有这些参数 error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch

各种百度,谷歌后,并没找到最好的解决办法,最后发现如下问题会导致上面报错:

阅读全文