如何使用c#解决Google API中的错误“redirect_uri_mismatch”

问题描述 投票:0回答:1

我试图将谷歌驱动器中的文件列入页面,在访问文件时,它将我重定向到授权页面,但它返回以下错误

错误:redirect_url_mismatch

enter image description here

c# asp.net-web-api google-drive-realtime-api
1个回答
1
投票

很确定你必须使用localhost:http://localhost:56365/authorize

这在我的开发环境中有效:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.