Actions42
- addHumanUser
- getUserByID
- listUsers
- setEmail
- resendEmailCode
- verifyEmail
- setPhone
- removePhone
- resendPhoneCode
- verifyPhone
- updateHumanUser
- deactivateUser
- reactivateUser
- lockUser
- unlockUser
- deleteUser
- registerPasskey
- verifyPasskeyRegistration
- createPasskeyRegistrationLink
- listPasskeys
- removePasskey
- registerU2F
- verifyU2FRegistration
- removeU2F
- registerTOTP
- verifyTOTPRegistration
- removeTOTP
- addOTPSMS
- removeOTPSMS
- addOTPEmail
- removeOTPEmail
- startIdentityProviderIntent
- retrieveIdentityProviderIntent
- addIDPLink
- listIDPLinks
- removeIDPLink
- passwordReset
- setPassword
- listAuthenticationMethodTypes
- createInviteCode
- resendInviteCode
- verifyInviteCode
createPasskeyRegistrationLink
AI-generatedOverview
This node integrates with the Zitadel API, allowing users to perform various operations across multiple Zitadel services. Specifically, for the createPasskeyRegistrationLink operation under the UserService resource, it creates a registration link for passkey authentication associated with a user. This is useful in scenarios where you want to enable passwordless login or multi-factor authentication by generating secure passkey registration links that can be sent to users.
Practical examples include:
- Automating the creation and distribution of passkey registration links to new or existing users.
- Integrating passkey-based authentication flows into your user management system.
- Enhancing security by enabling users to register hardware-backed credentials or biometric authentication methods.
Properties
| Name | Meaning |
|---|---|
| Service | The Zitadel service to interact with. Options: UserService, OrganizationService, AuthService, ManagementService, AdminService, ZITADELActions, UserSchemaService. Default is UserService. |
| userId | The unique identifier of the user for whom the passkey registration link will be created. Required when Service is UserService and Operation is createPasskeyRegistrationLink. |
| sendLink | A string parameter likely indicating whether or how to send the generated registration link (e.g., via email). Required for the specified operation. |
| returnCode | A string parameter possibly controlling the format or type of response code returned by the operation. Required for the specified operation. |
Output
The node outputs a JSON object containing the response from the Zitadel API for the invoked operation. For createPasskeyRegistrationLink, this typically includes details about the generated registration link, such as the URL and any metadata related to the passkey registration process.
If the operation involves binary data (not indicated here), the node would output it accordingly, but in this case, the output is purely JSON.
Example output structure (conceptual):
{
"registrationLink": "https://zitadel.example.com/passkey/register?token=abc123",
"expiresAt": "2024-12-31T23:59:59Z",
"userId": "user-xyz"
}
Dependencies
- Requires an API key credential for authenticating with the Zitadel API.
- The node uses gRPC clients generated from Zitadel's protobuf definitions to communicate with the API.
- The base URL for the Zitadel API is set to
https://zitadel.studentcouncil.dk. - No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
- Authentication errors: Ensure the provided API key credential is valid and has sufficient permissions for the requested operation.
- Invalid parameters: The node expects certain parameters like
userId,sendLink, andreturnCodeto be provided when using thecreatePasskeyRegistrationLinkoperation. Missing or malformed inputs may cause errors. - JSON parsing errors: Input parameters are parsed as JSON if possible; invalid JSON strings will fallback to raw strings. Make sure complex parameters are correctly formatted.
- Operation not found: If an unsupported operation is selected, the node returns an empty JSON object. Verify that the operation name matches one supported by the selected service.