Skip to content
Myr

fix(jwt): the alg option should be same as the one in options (#180)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Minghe · committed by GitHub · parent 1149729 · Browse files · 3 files+78 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+78 added−2 removed

  • tests:+76 added−1 removed
  • other:+2 added−1 removed

3 files+78 added−2 removed

modified:src/middleware/jwt/index.ts+2 added-1 removed
modified:src/utils/jwt/jwt.test.ts+65 added-1 removed
added:src/utils/jwt/types.test.ts+11 added