【发布时间】:2019-03-07 17:57:39
【问题描述】:
如果没有提供身份验证,浏览器会显示登录页面,但后端也会接受带有有效不记名令牌标头的调用。
这可能吗?如果有,怎么做?
我们在入口后面的同一个命名空间中有几个 kubernetes 服务,并用
注释入口ingress.bluemix.net/appid-auth: "bindSecret=binding-appidname namespace=somenamespace requestType=api serviceName=service-a"
requestType=web 也可以,但是requestType=api,web 不起作用,使用相应的请求类型添加两次注释也不起作用。
AppId 文档 (https://console.bluemix.net/docs/services/appid/tutorial-kubernetes-auth.html) 在“serviceName”的描述中指出:To use multiple request types in the same cluster, configure an instance of App ID to use web and another to use api.,所以我觉得应该可以同时使用两者。
【问题讨论】:
标签: ibm-cloud kubernetes-ingress ibm-appid