Skip to content

Conversation

@eiman-eltigani-ttd
Copy link
Contributor

@eiman-eltigani-ttd eiman-eltigani-ttd commented Nov 13, 2025

Summary of changes/key takeaways:

  • Removed enableSecureSignals: true parameter
  • Updated/simplified login flow to be more straight-forward (previously required two page reroutes before loading secure signals)
  • Added 'Secure Signals Loaded?' and 'Secure Signals Value:' values to table to be consistent with other secure signal sites, and also will help catch bugs like this one where the secure signals wasn't integrated

// Safety net: If token exists but Secure Signals haven't loaded yet, reload the page
if (token && !secureSignalsStorage) {
console.log("Token exists but Secure Signals not loaded yet, reloading page...");
location.reload();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added just in case secure signals doesnt load properly with delay

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also added condition to not reload on opt-out since the token wouldnt be generated

@eiman-eltigani-ttd eiman-eltigani-ttd marked this pull request as ready for review November 13, 2025 23:04
}
<% } else if (isOptout) { %>
// Opt-out case - set identity to null
sdk.setIdentity(null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think we should have to do this? the sdk should already take care of the optout identity

@eiman-eltigani-ttd eiman-eltigani-ttd merged commit a154765 into main Nov 17, 2025
2 checks passed
@eiman-eltigani-ttd eiman-eltigani-ttd deleted the eee-UID2-6129-secure-signals-client-server-integrations-fix branch November 17, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants