Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure functions InvalidSignature:令牌具有无效的签名-Azure函数_Azure Functions - Fatal编程技术网

Azure functions InvalidSignature:令牌具有无效的签名-Azure函数

Azure functions InvalidSignature:令牌具有无效的签名-Azure函数,azure-functions,Azure Functions,我有HTTP触发函数 我正在使用邮递员发送jsonhttps://.azurewebsites.net/api/?code= 邮递员给了我500分。我使用的是默认主机密钥 Azure函数监视器错误为: Put token failed. status-code: 401, status-description: InvalidSignature: The token has an invalid signature. TrackingId:11d500b8-47e4-419f-8c6b-4e7

我有HTTP触发函数

我正在使用邮递员发送jsonhttps://.azurewebsites.net/api/?code=

邮递员给了我500分。我使用的是默认主机密钥

Azure函数监视器错误为:

Put token failed. status-code: 401, status-description: InvalidSignature: The token has an invalid 
signature. TrackingId:11d500b8-47e4-419f-8c6b-4e789e101b9a, SystemTracker:NoSystemTracker, 
Timestamp:2020-04-27T09:51:22.

我认为问题来自身份验证/授权:


但是要解决您的问题,您需要提供更多信息。

那么您使用原始模板时会遇到这个问题吗?如果在使用模板时没有遇到此错误,您能否提供函数的代码?您是否在azure上为函数启动了任何验证方法?你能清楚地描述你的问题吗?“应用服务应用上启用了匿名访问。用户将不会被提示登录。”应用服务身份验证=关闭