Skip to content

Conversation

@backportbot-libresign
Copy link

Backport of PR #6541

Fixes click-to-sign for unauthenticated users by allowing credential
retrieval when user is null. Credentials are stored with empty UID
for unauthenticated users, so retrieval must use the same pattern.

Related to PR #6532
Adds formatEnvelopeChildFilesForSignRequest method to eliminate N+1
queries when formatting multiple sign requests. Pre-loads signers,
identify methods and visible elements in bulk.
Updates getEnvelopeChildFiles to use the new bulk formatter,
eliminating N+1 queries when loading envelope children in initial state.
Unifies handling of envelope child files from both initial state
and API responses. Adds fetchEnvelopeFiles helper and improves
error handling for missing file URLs.
Checks isAuthenticated to use the appropriate endpoint:
- /sign/uuid/{uuid} for public/unauthenticated users
- /sign/file_id/{id} for authenticated users
@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Jan 23, 2026
@backportbot-libresign backportbot-libresign bot added this to the Next RC (33) milestone Jan 23, 2026
@vitormattos vitormattos merged commit 838c91b into stable33 Jan 23, 2026
61 of 62 checks passed
@vitormattos vitormattos deleted the backport/6541/stable33 branch January 23, 2026 12:09
@github-project-automation github-project-automation bot moved this from 0. Needs triage to 4. to release in Roadmap Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 4. to release

Development

Successfully merging this pull request may close these issues.

2 participants