Skip to content

Conversation

@darcyYe
Copy link
Contributor

@darcyYe darcyYe commented Dec 8, 2025

Summary

add more info to log in SAML authn APIs

Testing

N/A

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@darcyYe darcyYe requested a review from a team December 8, 2025 07:12
Copilot AI review requested due to automatic review settings December 8, 2025 07:12
@github-actions
Copy link

github-actions bot commented Dec 8, 2025

COMPARE TO master

Total Size Diff 📈 +339 Bytes

Diff by File
Name Diff
packages/core/src/routes/saml-application/anonymous.ts 📈 +339 Bytes

@darcyYe darcyYe enabled auto-merge (squash) December 8, 2025 07:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds additional logging information to SAML authentication API endpoints to improve observability and debugging capabilities. However, the logging additions expose security-sensitive information that should not be stored in plain text logs.

Key changes:

  • Added logging for signInUrl, createSession, and insertSamlAppSession objects in two SAML authentication handlers
  • Fixed a bug where the entire insertSamlAppSession object was being logged instead of just the id in the cookie log entry

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@darcyYe darcyYe disabled auto-merge December 8, 2025 07:27
@darcyYe darcyYe merged commit 322b2cf into master Dec 8, 2025
49 of 50 checks passed
@darcyYe darcyYe deleted the yemq-add-log-for-saml-authn-endpoint branch December 8, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants