我正在调试一个使用 Microsoft Graph 的应用。一路上我了解到,redirect_uri 希望通过 SSL,但我可以通过使用 127.0.0.1 来解决这个问题进行测试。今天晚上我注意到这不再起作用:
The provided value for the input parameter 'redirect_uri' is not valid. The scope 'User.Read offline_access Calendars.ReadWrite' requires that the request must be sent over a secure connection using SSL
我不敢相信我们必须使用 SSL 进行测试。是否有某个地方可以禁用此限制?
最佳答案
您不能将 IP 地址用于 redirect_uri
,您需要使用 localhost
。
关于ssl - 不再能够使用 127.0.0.1 redirect_uri,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48877602/