lmccay commented on PR #1476: URL: https://github.com/apache/knox/pull/1476#issuecomment-6723287096
@hsheinblatt - It has taken me a while to get my head around this enough to formulate my questions. Sorry for the delay. I want to revisit the need to split it into ingress and non-ingress routing in more detail here. I also want to make sure that tokens with an actor (delegated auth tokens) can be accepted via this path if required by the deployment with a clear description as to why they sometimes shouldn't be. Hairpinning calls could actually be required based on certain deployment scenarios and this would break the ability to do that with delegated authentication. I need to better understand the source of non-delegated authn tokens that might come through this path that would need audience enforcement. SSO related tokens should have a separate topology path and enterprise tokens would need to be federated tokens from the enterprise IDP. OAuth client_credentials flow should also request a specific resource/audience be included in the resulting acces token. The only other possibility that I can think of is a service account projected credential. These could potentially have audiences included by depending on a deployment. But s2s traffic doesn't require a hairpinning call unless there is some cross cluster complication for the involved services that prevent multi-cluster mesh or some other mechanism from working. In which case, I would expect a same subject token exchange for the other service to be done. And this used through the ingress. But this PR would block that. Anyway, I could use a bit more description of what we are preventing here by disallowing delegated authn tokens and what unscoped user tokens we would expect through the ingress and this topology path. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
