mineadmin / components

mine-admin library
Apache License 2.0
10 stars 21 forks source link

fix(jwt-auth): use public key for token validation (#104) #110

Closed People-Sea closed 2 months ago

People-Sea commented 2 months ago

Change the key retrieval method to use the 'public' key option when validating tokens in the JWT class. This ensures that token validation utilizes the appropriate key type, matching the intended security configuration for JWT authentication.