0e231bb121
add .editorconfig
2023-10-02 23:10:20 +02:00
31483c6b19
2.2.2
2023-08-25 16:01:57 +02:00
Tom Lokhorst
66edb07c53
Allow array in Audience
2023-08-25 16:00:30 +02:00
e157bca770
2.2.1
2023-02-02 16:13:50 +01:00
beccb71d91
hotfix
2023-02-02 16:13:28 +01:00
d8622caafc
2.2.0
2023-02-02 15:48:08 +01:00
d9d275f16e
audit fix
2023-02-02 15:46:10 +01:00
d240b7659f
clean up
2023-02-02 15:46:10 +01:00
Michael Cereda
d9c44920cf
Support JWK format
2023-02-02 15:46:10 +01:00
ced65bfb18
2.1.4
2022-12-14 14:42:51 +01:00
3a98aaf674
option to set iat
2022-12-14 14:42:23 +01:00
9f900792b4
2.1.3
2022-11-25 00:34:50 +01:00
8dcf7885b2
ocd
2022-11-25 00:32:26 +01:00
Can Rau
70e36349f6
docs: don't install as dev dependency (I think?)
...
Think the installation command shouldn't use `-D` as it's used in the production code right, so installing as dev dep would be confusing, right?
Please correct me if I'm wrong 🙏
Also thanks a lot for this package, was just using for a way to sign and verify JWT in Pages ❤️
2022-11-25 00:07:00 +01:00
7b2066b33f
2.1.2
2022-10-09 20:56:50 +02:00
ced142003a
fix typo
2022-10-09 20:56:35 +02:00
6542c4cc2e
2.1.1
2022-10-09 20:48:01 +02:00
18e331716c
Revert "support for base64 secrets"
...
This reverts commit e29b2f5d26 .
2022-10-09 20:47:29 +02:00
2190b6ed0d
2.1.0
2022-10-03 01:58:51 +02:00
6be053dfa4
clean up
2022-10-03 01:57:59 +02:00
badoge
e29b2f5d26
support for base64 secrets
2022-10-03 01:54:28 +02:00
d3737bcd63
2.0.1
2022-07-08 15:07:00 +02:00
a2e554576b
export types
2022-07-08 15:06:17 +02:00
7e09672495
2.0.0
2022-06-28 22:13:42 +02:00
0e1f362ebe
fix workflow
2022-06-28 22:12:09 +02:00
196ed5f568
2.0.0-pre.0
2022-06-26 17:42:13 +02:00
6ab9446e01
optimizations
2022-06-26 17:03:02 +02:00
6dbd703d03
clean up
2022-06-26 15:54:10 +02:00
7e9b81cadc
exclude test file from npm package
2022-06-26 13:22:53 +02:00
71e292810f
update workflow
2022-06-26 13:20:15 +02:00
9948b738aa
adapt old test file
2022-06-26 13:17:41 +02:00
019a3541ec
typescript
2022-06-26 12:57:49 +02:00
29aa3b0198
Options fix
2022-06-22 19:11:53 +02:00
06fd26cd86
Update to v1.4.3
2022-06-22 12:37:08 +02:00
Toby Schneider
40c3825b34
Merge pull request #17 from IMZihad21/main
...
Destructure payload from decode function properly
2022-06-22 12:11:09 +02:00
ZèD
1e4df43a5d
Destructure payload from decode function properly
...
The decode function returns an object containing a header and payload properties. Assigning the whole object to payload fails nbf and exp checks on verify JWT as those properties not found in decode return object directly. Instead, destructure payload property from decode return data that contains those values and check them correctly.
Signed-off-by: ZèD <imzihad@gmail.com >
2022-06-22 12:06:50 +06:00
e521f4684d
Docs fix
2022-06-04 22:29:46 +02:00
28b97a2434
Docs fix
2022-06-04 22:29:30 +02:00
f9905f320e
Docs fix
2022-06-04 17:43:48 +02:00
8797e546e2
Update docs
2022-06-04 17:43:11 +02:00
9c519d1ede
Update docs
2022-06-04 17:42:33 +02:00
80e3bc803e
Update docs
2022-06-04 17:40:47 +02:00
14b8ec78b1
Update docs
2022-06-04 17:29:50 +02:00
d660b1740f
.decode() syntax change to support headers
2022-06-04 17:23:53 +02:00
03cb9e1b92
.verify() bugfix
2022-06-04 14:53:59 +02:00
015b213f89
Just to make sure
2022-06-04 14:40:06 +02:00
97c12f7bc5
Fix .verify() and add testing
2022-06-04 14:18:06 +02:00
Toby Schneider
031f0b757a
Merge pull request #9 from alaister/main
...
Add support for JWT header
2022-06-01 20:10:51 +02:00
51474806f6
Update readme
2022-06-01 15:11:57 +02:00
9e66d3bac0
Implement throwError option for .verify().
2022-06-01 15:09:25 +02:00