Skip to content

Feat/v2 monitoring#243

Merged
locnguyen1986 merged 3 commits intomainfrom
feat/v2-monitoring
Nov 14, 2025
Merged

Feat/v2 monitoring#243
locnguyen1986 merged 3 commits intomainfrom
feat/v2-monitoring

Conversation

@locnguyen1986
Copy link
Collaborator

  • Remove debug check
  • Do not return id_token as kong redirect limit

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 adjusts logging levels for OAuth callback handlers and removes the id_token from redirect URLs to prevent Kong gateway rejections due to URL length limits.

  • Changed OAuth callback logging from Info to Debug level throughout the handler
  • Commented out id_token inclusion in frontend redirect URLs to avoid Kong's redirect size limitations

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

if tokenResp.IDToken != "" {
fragment += fmt.Sprintf("&id_token=%s", url.QueryEscape(tokenResp.IDToken))
}
// client don't need id_token, so we comment it out as kong rejects long redirect URLs
Copy link

Copilot AI Nov 14, 2025

Choose a reason for hiding this comment

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

Grammar issue: "client don't need" should be "client doesn't need" or "clients don't need".

Suggested change
// client don't need id_token, so we comment it out as kong rejects long redirect URLs
// clients don't need id_token, so we comment it out as kong rejects long redirect URLs

Copilot uses AI. Check for mistakes.
@locnguyen1986 locnguyen1986 merged commit f0378b7 into main Nov 14, 2025
6 checks passed
@locnguyen1986 locnguyen1986 deleted the feat/v2-monitoring branch November 14, 2025 08:07
@github-project-automation github-project-automation bot moved this to QA in Jan Nov 14, 2025
@locnguyen1986 locnguyen1986 restored the feat/v2-monitoring branch November 26, 2025 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: QA

Development

Successfully merging this pull request may close these issues.

2 participants