Skip to content

Redirect link on embedded invites #160

@edencorbin

Description

@edencorbin

Its not clear to me where I can add this, so that upon signing it redirects, here its not an option:

        {
            var document = await signNowContext.Documents.GetDocumentAsync(documentId);
            // create embedded signing invite
            var invite = new EmbeddedSigningInvite(document);

            invite.AddEmbeddedSigningInvite(
                new EmbeddedInvite
                {
                    Email = email,
                    RoleId = document.Roles[0].Id,
                    SigningOrder = 1,
                    AuthMethod = EmbeddedAuthType.None
                });

            return await signNowContext.Invites.CreateInviteAsync(document.Id, invite)
                .ConfigureAwait(false);
        }```



Nor is it an option here: 


```        public async Task<EmbeddedInviteLinkResponse> GenerateLinkForEmbeddedInvite(string documentId, int expires, SignNowContext signNowContext)
        {
            var document = await signNowContext.Documents.GetDocumentAsync(documentId);
            var options = new CreateEmbedLinkOptions
            {
                FieldInvite = document.FieldInvites.First(),
                AuthMethod = EmbeddedAuthType.None,
                LinkExpiration = (uint)expires
            };

            return await signNowContext.Invites
                .GenerateEmbeddedInviteLinkAsync(document.Id, options).ConfigureAwait(false);
        }```   to be clear these methods are working but I am not able to redirect the user on completion.
futhermore listening to an ebedded iframe I dont get any events on completion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions