Skip to content

Conversation

@lwnmengjing
Copy link
Member

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • Test A
  • Test B

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@lwnmengjing lwnmengjing requested review from Copilot and mss-boot March 20, 2025 08:41
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

The PR updates JWT package references and adjusts token extraction methods in the authentication middleware.

  • Change JWT package alias from "jwt" to "ginJwt" for functions provided by appleboy's package.
  • Add a new import for "github.com/golang-jwt/jwt/v4" to correctly reference token claims.
Files not reviewed (1)
  • go.mod: Language not supported

@github-actions
Copy link

Field Coverage
total: 4.0%

@mss-boot mss-boot merged commit 3f5aa53 into main Mar 21, 2025
1 check passed
@mss-boot mss-boot deleted the feat/update-dep branch March 21, 2025 03:58
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