Hi,
I’m trying to integrate our product with free5gc to verify its correctness; it essentially replaces a few NFs in the core, including the AUSF, to perform authentication and authorization of UEs using standard enterprises IAM. Specifically, for 5G I’m using EAP-AKA’. However I’m hitting an issue where the free5gc AMF is ignoring the href provided by our “AUSF” as part of the UeAuthenticationCtx, and it is sending the POST request with the follow up eap-session payload to an URI which appears to be using the UE’s SUCI as the authCtxId. The line of code where this happens, if I decoded it correctly, should be this one. I would expect the authCtxId to be whatever the AUSF provided as part of the eap-session href, which - as far as I can tell from reading the standards - could be anything.
Is my interpretation correct? If so, can this be considered a bug? Naturally this has little importance for 99% of use cases, as presumably the built-in AUSF does the right thing, but if I am correct (and it is something for which you’d be willing to accept a PR) I could try to fix it, assuming it is not too complicated to do so.
Thanks in advace!