How to create a custom claim on ADFS
Hello,
I would like to create a custom rule with ADFS using two attributes in order to combine them like this
c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]
=> add(store = "Active Directory", types = ("claims:temp/givenname","claims:temp/sn"), query = ";givenname,sn;{0}", param = c.Value);
c1:[Type == "claims:temp/givenname"] && c2:[Type == "claims:temp/sn"]
=> issue(Type = "urn:oid: urn**:oid:**0.9.2342.19200300.100.1.3", Value = c1.Value + "." + c2.Value + "@test.com");
I understood I must create two custom rules, one for each rule above
I would like to know if there is something wrong with these two rules ?
thanks in advance
Regards
Louis