【发布时间】:2017-04-05 14:29:25
【问题描述】:
我正在尝试使用 localhost/users/auth/google_oauth2/callback 作为重定向 uri,但我不断收到 An error occured while connecting to the server: DNS lookup failed for URL: http://localhost/users/auth/google_oauth2/callback
【问题讨论】:
我正在尝试使用 localhost/users/auth/google_oauth2/callback 作为重定向 uri,但我不断收到 An error occured while connecting to the server: DNS lookup failed for URL: http://localhost/users/auth/google_oauth2/callback
【问题讨论】:
这里的技巧是在 API Web 界面内将 http://localhost/users/auth/google_oauth2/callback 设置为重定向 URL 之一。客户端是被重定向的,所以它与网络无关。初学者的错误,所以希望如果你正在阅读这篇文章,我会让你头疼:)
【讨论】: