更新时间:2023-09-20 21:37:16
就我而言,问题是服务器删除了 Authorization Header我需要将此添加到 .htaccess
In my case the Problem was that the server removes Authorization Header I needed to add this to .htaccess
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
用于 yii2 的 REST API,身份验证器 (HttpBearerAuth) 在服务器上不起作用
linkedin身份验证在服务器上不起作用