Skip to content

Conversation

bluepal-prasanthi-moparthi
Copy link
Collaborator

No description provided.

Copilot

This comment was marked as outdated.

@jwierzbo jwierzbo requested a review from Copilot August 26, 2025 08:01
Copy link

@Copilot 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 SSO (Single Sign-On) authentication support to the v2 connection package by implementing token-based authentication with automatic token refresh and SSO redirect handling.

  • Refactored existing JWT authentication to support token caching and automatic refresh based on expiry
  • Added new NewSSOAuthWrapper function for SSO authentication flows with redirect handling
  • Implemented JWT token parsing to extract expiration times for proper token lifecycle management

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
v2/connection/auth_jwt_impl.go Added SSO auth wrapper, JWT token parsing, and refactored existing JWT auth to support token caching and refresh
v2/CHANGELOG.md Added changelog entry for the new SSO auth token implementation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant