I have connected an AD FS as SAML 2.0 up-party on FoxIDs and my application is connected with OpenID Connect as down-party.
I'm not receiving a SUB claim in my application, what can be the problem?
I have connected an AD FS as SAML 2.0 up-party on FoxIDs and my application is connected with OpenID Connect as down-party.
I'm not receiving a SUB claim in my application, what can be the problem?
Copyright © 2021 Jogjafile Inc.
FoxIDs convert between SAML 2.0 and JWT claims. Where the
subclaim is converted from the SAML 2.0NameIDattribute/claim. TheNameIDclaim has the claim typehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier.Either you need to update the AD FS configuration to also issue the
NameIDclaim. Which results in asubclaim with theNameIDclaim value.Alternatively, if the AD FS e.g. are issuing a
UPN(http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn) claim you can define a claims transformation in FoxIDs mapping theUPN(http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn) claim to aNameID(http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier) claim. This results in asubclaim with theUPNclaim value.To debug you can temporary add a
NameID(http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier) claim with a constant value, which results in a sub claim.