createPartnerLifeMagicLink
Create a magic link to automatically log a partner into the Partner Life portal (partner.life.li).
The magic link is created for the partner identified by the partnerLifewareId input field.
If not provided, it defaults to the partner identified by the x-partner-id header.
The target partner must be within your broker tree (a sub-partner or colleague account).
If the partner's account has not been activated yet, you must pass both
acceptPartnerLifeTermsAndConditions and acknowledgePartnerLifePrivacyPolicy as true
to activate the account and generate the magic link in one step.
Example:
mutation {
createPartnerLifeMagicLink(input: {
partnerLifewareId: "123456"
alreadyMultiFactorAuthenticated: true
}) {
... on PartnerLifeMagicLink {
url
}
... on ErrorInterface {
message
}
}
}
createPartnerLifeMagicLink(
input: CreatePartnerLifeMagicLinkInput!
): CreatePartnerLifeMagicLinkResult!
Arguments
createPartnerLifeMagicLink.input ● CreatePartnerLifeMagicLinkInput! non-null input
Type
CreatePartnerLifeMagicLinkResult union
Result of creating a Partner Life magic link.
On success, returns a PartnerLifeMagicLink containing the one-time SSO URL.
On failure, returns one of the error types.
Always include the ErrorInterface fragment in your query to handle errors generically.