AYON integration: ticket SSO + task boards (v1.0) #1

Merged
Hermes merged 5 commits from ayon-integration into main 2026-09-04 23:43:01 +00:00
Showing only changes of commit f66a4e2d53 - Show all commits
+3 -2
View File
@@ -236,8 +236,9 @@ async function redeemTicket(ticket) {
} finally {
clearTimeout(timer);
}
if (resp.status === 404) {
// Ticket unknown or already redeemed (single-use)
if (resp.status === 404 || resp.status === 401 || resp.status === 403) {
// Ticket unknown / already redeemed (single-use) or bad server-to-server
// credentials — indistinguishable from the client's perspective.
throw Object.assign(new Error('Invalid or expired ticket'), { status: 401 });
}
if (!resp.ok) {