2015-05-19 14 views
0

我正在嘗試使用ApiGility設置身份驗證。如何使用ApiGility設置身份驗證

我添加了一個登錄路線,當我在的地方訪問,沒有驗證這條路線我期待着得到:

{ 
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", 
"title": "Forbidden", 
"status": 403, 
"detail": "Forbidden" 
} 

正如我在我的其他應用程序ApiGility做。

但是,當我嘗試訪問終點時,儘管設置了身份驗證,但它仍然可用。

有什麼可以影響到這一點?

這裏是我的設置一些截圖:

末點登錄:

enter image description here

種授權方法

enter image description here

登錄方法 - 只是現在 enter image description here

驗證設置

enter image description here

回答

0

我通過作曲家更新ApiGility返回true它開始工作。

相關問題