Skip to content

Commit

Permalink
feat(setup): merge fido2 changes
Browse files Browse the repository at this point in the history
Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
  • Loading branch information
yurem committed Jul 1, 2024
1 parent 8f9eb14 commit 1f90112
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
24 changes: 22 additions & 2 deletions schema/gluu_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4249,6 +4249,17 @@
"syntax": "1.3.6.1.4.1.1466.115.121.1.15",
"x_origin": "Gluu created attribute"
},
{
"desc": "oxPublicKeyIdHash",
"equality": "integerMatch",
"names": [
"oxPublicKeyIdHash"
],
"oid": "oxAttribute",
"substr": "caseIgnoreSubstringsMatch",
"syntax": "1.3.6.1.4.1.1466.115.121.1.27",
"x_origin": "Gluu created attribute"
},
{
"desc": "Lifetime of access token",
"equality": "integerMatch",
Expand Down Expand Up @@ -5920,9 +5931,13 @@
"creationDate",
"oxSessionStateId",
"oxCodeChallenge",
"oxCodeChallengeHash",
"personInum",
"oxAuthenticationData",
"oxStatus"
"oxApplication",
"oxStatus",
"exp",
"del"
],
"must": [
"objectclass"
Expand All @@ -5942,15 +5957,20 @@
"oxId",
"creationDate",
"displayName",
"oxApplication",
"oxSessionStateId",
"oxCodeChallenge",
"oxCodeChallengeHash",
"oxPublicKeyId",
"oxPublicKeyIdHash",
"personInum",
"oxRegistrationData",
"oxDeviceData",
"oxDeviceNotificationConf",
"oxCounter",
"oxStatus"
"oxStatus",
"exp",
"del"
],
"must": [
"objectclass"
Expand Down
15 changes: 15 additions & 0 deletions templates/base.ldif
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,21 @@ objectClass: top
objectClass: organizationalUnit
ou: device

dn: ou=fido2,o=gluu
objectClass: top
objectClass: organizationalUnit
ou: fido2

dn: ou=fido2_register,ou=fido2,o=gluu
objectClass: top
objectClass: organizationalUnit
ou: fido2_register

dn: ou=fido2_auth,ou=fido2,o=gluu
objectClass: top
objectClass: organizationalUnit
ou: fido2_authenticate

################################

# U2F data - LEVEL 2
Expand Down
4 changes: 3 additions & 1 deletion templates/oxauth/oxauth-static-conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"metric":"ou=statistic,o=metric",
"sectorIdentifiers": "ou=sector_identifiers,o=gluu",
"ciba": "ou=ciba,o=gluu",
"stat": "ou=stat,o=gluu"
"stat": "ou=stat,o=gluu",
"fido2Attestation":"ou=fido2_register,ou=fido2,o=gluu",
"fido2Assertion":"ou=fido2_auth,ou=fido2,o=gluu"
}
}

0 comments on commit 1f90112

Please sign in to comment.