Skip to content

Conversation

@klaidliadon
Copy link
Contributor

No description provided.

Copy link

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 JWT token authentication option to the S2SClient, allowing clients to provide a pre-generated JWT token as an alternative to generating one from a JWT secret. The change provides more flexibility in authentication methods while maintaining backward compatibility.

  • Adds JWTToken field to S2SClientConfig for direct token authentication
  • Updates authorization logic to prioritize provided JWT token over secret-based generation
  • Promotes several dependencies from indirect to direct in go.mod

Reviewed Changes

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

File Description
s2s.go Adds JWT token field and updates authentication logic to support both token and secret-based auth
go.mod Promotes base64, base62, and cobra dependencies from indirect to direct

@VojtechVitek VojtechVitek merged commit 5687053 into master Jul 22, 2025
2 checks passed
@VojtechVitek VojtechVitek deleted the s2s-jwt branch July 22, 2025 15:53
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