The WebAuthn Preregistration API provides a flow to initiate and set up WebAuthn Preregistration authenticator enrollments through third-party fulfillment providers.
okta.users.manage
Activates a preregistered WebAuthn Factor. As part of this operation, Okta first decrypts and verifies the Factor PIN and enrollment data sent by the fulfillment provider.
Enrollment Activation Request
Success
PIN or Cred Requests Generation Failed
Forbidden
Not Found
Too Many Requests
{- "credResponses": [
- {
- "authenticatorEnrollmentId": "string",
- "credResponseJWE": "string"
}
], - "fulfillmentProvider": "yubico",
- "pinResponseJwe": "string",
- "serial": "string",
- "userId": "string",
- "version": "string",
- "yubicoSigningJwks": [
- {
- "crv": "P-384",
- "kid": "string",
- "kty": "EC",
- "use": "enc",
- "x": "string",
- "y": "string"
}
]
}
{- "authenticatorEnrollmentIds": [
- "string"
], - "fulfillmentProvider": "yubico",
- "userId": "string"
}
okta.users.manage
Enrolls a preregistered WebAuthn Factor. This WebAuthn Factor has a longer challenge timeout period to accommodate the fulfillment request process. As part of this operation, Okta generates EC key-pairs used to encrypt the Factor PIN and enrollment data sent by the fulfillment provider.
Enrollment Initialization Request
enrollmentRpIds | Array of strings List of Relying Party hostnames to register on the YubiKey. | ||||||||||||
fulfillmentProvider | string Name of the fulfillment provider for the WebAuthn Preregistration Factor | ||||||||||||
userId | string ID of an existing Okta user | ||||||||||||
object (ECKeyJWK) Elliptic Curve Key in JWK format, currently used during enrollment to encrypt fulfillment requests to Yubico, or during activation to verify Yubico's JWS objects in fulfillment responses. The currently agreed protocol uses P-384. | |||||||||||||
|
Success
PIN or Cred Requests Generation Failed
Forbidden
Not Found
Too Many Requests
{- "enrollmentRpIds": [
- "string"
], - "fulfillmentProvider": "yubico",
- "userId": "string",
- "yubicoTransportKeyJWK": {
- "crv": "P-384",
- "kid": "string",
- "kty": "EC",
- "use": "enc",
- "x": "string",
- "y": "string"
}
}
{- "credRequests": [
- {
- "authenticatorEnrollmentId": "string",
- "credRequestJwe": "string",
- "keyId": "string"
}
], - "fulfillmentProvider": "yubico",
- "pinRequestJwe": "string",
- "userId": "string"
}
okta.users.manage
Generates a fulfillment request by sending a WebAuthn Preregistration event to start the flow. The Okta Workflows WebAuthn preregistration integration uses this to populate the fulfillment request.
No Content
Forbidden
Not Found
Too Many Requests
{- "fulfillmentData": {
- "customizationId": "string",
- "inventoryProductId": "string",
- "productId": "string"
}, - "fulfillmentProvider": "yubico",
- "userId": "string"
}
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.users.manage
Sends the decoded PIN for the specified WebAuthn Preregistration Enrollment. PINs are sent to the user's email. To resend the PIN, call this operation again.
No Content
Forbidden
Not Found
Too Many Requests
{- "authenticatorEnrollmentId": "string",
- "fulfillmentProvider": "yubico",
- "userId": "string"
}
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.users.read
Lists all WebAuthn Preregistration Factors for the specified user
Success
Forbidden
Not Found
Too Many Requests
[- {
- "id": "fwf23789dfs9asdf782",
- "factorType": "webauthn",
- "provider": "FIDO",
- "vendorName": "FIDO",
- "fulfillmentProvider": "yubico",
- "status": "ACTIVE",
- "created": "2018-05-24T20:43:19.000Z",
- "lastUpdated": "2018-05-24T21:43:32.000Z",
- "profile": {
- "credentialId": "l3Br0n-7H3g047NqESqJynFtIgf3Ix9OfaRoNwLoloso99Xl2zS_O7EXUkmPeAIzTVtEL4dYjicJWBz7NpqhGA",
- "authenticatorName": "YubiKey 5C",
- "presetPinAvailable": true
}, - "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}
}
}
}
]
okta.users.manage
Deletes a specific WebAuthn Preregistration Factor for a user
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.users.manage
Assigns the Fulfillment Error Status to a WebAuthn Preregistration Factor for a user. The /mark-error
path indicates that the specific FULFILLMENT_ERRORED
AuthFactor status is set on the enrollment.
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}