[英]Access denied to drupal via Azure Api management
I have a Drupal deployed on a Bitnami Image containing some content that I use in a mobile application. 我在Bitnami映像上部署了一个Drupal,其中包含一些我在移动应用程序中使用的内容。 For that, I sat a Rest API to request Drupal and get the data.
为此,我使用了一个Rest API来请求Drupal并获取数据。 Using Postman and the basic_auth credentials, I am able to get my API response properly with no problems.
使用Postman和basic_auth凭据,我可以正确获得API响应,而不会出现任何问题。 After that, I deployed Azure API Management and tried to pass the call of Drupal API through it, I provided the credentials via an authentication-basic policy, everything worked perfectly for a moment then suddenly I now getting a 403 Forbidden Access.
之后,我部署了Azure API管理并尝试通过它传递Drupal API的调用,我通过基于身份验证的策略提供了凭据,一切正常运行了一会儿,然后突然我现在获得了403禁止访问。 I still can request the Drupal API directly via POSTMAN using the same credentials with no problems.
我仍然可以直接使用相同的凭据通过POSTMAN请求Drupal API,而没有任何问题。 Thanks
谢谢
Actually, When I was creating the API on API Management, I used wrong authentication credentials many times for that, Drupal had blocked the API from access to the data. 实际上,当我在API Management上创建API时,为此我多次使用了错误的身份验证凭据,Drupal阻止了该API访问数据。 I fixed that by doing a Truncate on the table flood of my database
我通过对数据库的表泛洪进行截断来解决此问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.