client-certificate-auth API Reference
client-certificate-auth API Reference / helpers / allowOU
Function: allowOU()
allowOU(
ous):ValidationCallback
Defined in: helpers.js:126
Create a validation callback that allows certificates with matching Organizational Units.
Parameters
ous
string[]
Allowed Organizational Units
Returns
Example
ts
app.use(clientCertificateAuth(allowOU(['Engineering', 'DevOps'])));