Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/koajs/jwt

Koa middleware for validating JSON Web Tokens
https://github.com/koajs/jwt

Updating documentation for #107 - token expiration

0fbae66d3e44b5d0e1f3890ad1c716cc66bdccc5 authored over 7 years ago by Clint Modien <[email protected]>
added tests for #107 - token expiration

77a8b050103f9a3f9d1dd052cb625a88d797df9c authored over 7 years ago by Clint Modien <[email protected]>
fix for #107 - Unable to determine when tokens have expired.

1b708f86432b20b32325d69360613a95e9a5e122 authored over 7 years ago by Clint Modien <[email protected]>
Merge pull request #103 from cncolder/fix-typo

fix typo in readme isRevoked argument order

950094adca9abc601a00d6324a4b8c0a056d34eb authored over 7 years ago by Scott Donnelly <[email protected]>
fix typo in readme isRevoked argument order

[https://github.com/koajs/jwt/blob/fb44b8596b24e7eda0a266a77dd69a02146d9ff0/lib/index.js#L39](ht...

bbd385f389477721cef79d718d15d1d8a4cb712a authored over 7 years ago by Colder Xihk <[email protected]>
Merge pull request #101 from koajs/snyk-fix-e5e10122

[Snyk Update] New fixes for 1 vulnerable dependency path

fb44b8596b24e7eda0a266a77dd69a02146d9ff0 authored over 7 years ago by Scott Donnelly <[email protected]>
fix: package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:ms:20170412
...

a6ed64dae3db50a2188019bd86b6bc252d16af09 authored over 7 years ago by snyk-bot <[email protected]>
Merge pull request #97 from koajs/isrevoked-handler-spec

Fix JSDoc for isRevoked handler spec

f43572c5732d5317d269a8b444ab25ca3a3081b5 authored over 7 years ago by Scott Donnelly <[email protected]>
Fix JSDoc for isRevoked handler spec

Resolves #96

1a5e6a51d219b3599141eb40b7b5f74655246ce9 authored over 7 years ago by Scott Donnelly <[email protected]>
Merge pull request #95 from winfinit/master

added definitions for TypeScript

3b685dd8a009aa6bb5295b6fc3978c6aac4a478c authored over 7 years ago by Scott Donnelly <[email protected]>
added export to mw

602ba39e6cee1815f98ea03deaaa84718891f213 authored over 7 years ago by Roman Jurkov <[email protected]>
added definitions for typescript, so they dont have to be shipped from @types, and it is easier to submit issues and PRs against same library in one location

304076db159c257be35a96ae4a8b81a21f5db5b6 authored over 7 years ago by Roman Jurkov <[email protected]>
3.2.1

64d62491fc02e8faef5be8b7049c14cd7fbc54ff authored over 7 years ago by Scott Donnelly <[email protected]>
update docs for move of koa-v2 branch to master

8bfd7dc37e4293f0a0eb363335d41a640d04e92c authored over 7 years ago by Scott Donnelly <[email protected]>
3.2.0

6cd874804e92c40e90b681d3d12a35a584910db8 authored over 7 years ago by Scott Donnelly <[email protected]>
Merge pull request #94 from koajs/consistent-errors-100-percent-coverage

Consistent error messages, 100% coverage, misc tweaks

186016f7f76704ca379fb00f6aeb4b0491256117 authored over 7 years ago by Scott Donnelly <[email protected]>
add @dunnock to list oc contributors

a19d21fee000877e29ad2d2aa0523430efbe2a44 authored over 7 years ago by Scott Donnelly <[email protected]>
3.1.0

d63f9493e6966ea227c5ab8ec5c163c64fbfe7e2 authored over 7 years ago by Scott Donnelly <[email protected]>
Error message / handling, misc changes to increase coverage

* Remove the trailing newlines from thrown errors
* For security, when debug=false all thrown er...

e34844e5bc243ec6b8a8beedebf61de419596498 authored over 7 years ago by Scott Donnelly <[email protected]>
catch invalid token errors before calling secret provider function

92a8a38b1b8daff07a8bc331bcc3489518a7fa29 authored over 7 years ago by Scott Donnelly <[email protected]>
remove bail flag on test run to show all errors

a63ee4eb7157a62c4bd75ed30fee5f26150baa3f authored over 7 years ago by Scott Donnelly <[email protected]>
add .idea to gitignore for webstorm devs

3934df3f0e4049865eaa5178905438ea79fa6be7 authored over 7 years ago by Scott Donnelly <[email protected]>
Merge branch 'koa-v2' of github.com:koajs/jwt into koa-v2

d04582c1f57a2ad72c5fcfd4c11abcfc2ca9818b authored over 7 years ago by Scott Donnelly <[email protected]>
Merge pull request #90 from dunnock/koa-v2

add support for secret as an async function call to allow JWKS integration

7bf9bb8a1a398bc10d8ab5005acdf6f321512905 authored over 7 years ago by Scott Donnelly <[email protected]>
fixes for readme per PR #90

4f88cf25b1ab206cad33d025375648070880fdb8 authored over 7 years ago by Maksym Vorobiov <[email protected]>
fixes for readme per PR #90

c102997d2039253a0bce23ee373b773bb12b73ef authored over 7 years ago by Maksym Vorobiov <[email protected]>
fixes for readme per PR #90

eac4acdb326382b58720cd9a5915b6ecce0d9585 authored over 7 years ago by Maksym Vorobiov <[email protected]>
fixes for readme per PR #90

62ecd9919f5d938156c9e377c2ee1ec43b86a90c authored over 7 years ago by Maksym Vorobiov <[email protected]>
fixes for readme per #90

a9d300a902af14dd7c2adfc95cff4f75d7d21118 authored over 7 years ago by Maksym Vorobiov <[email protected]>
fixes for PR #90

f3ccb01e55edc732d52575bf210c4258b721b2e1 authored over 7 years ago by Maksym Vorobiov <[email protected]>
add missing tests per PR #90

a2c6bfab3b909c6d92afa71c283a52482ef8a6c5 authored over 7 years ago by Maksym Vorobiov <[email protected]>
get rid of isFunction check

c2ec11b65cd83acb6bcd92a6846ff864797a7b63 authored over 7 years ago by Maksym Vorobiov <[email protected]>
fix docs to the new jwks promise provider

fd5d227a8456120221de20ee291e9b6d4774c15a authored over 7 years ago by Maksym Vorobiov <[email protected]>
code review fixes #90

92be78a2ef1f2f9bedadf4aa91870f12824cb8de authored over 7 years ago by Maksym Vorobiov <[email protected]>
fixed error handler for rsa callabck

c22816d96272c8cd73de52622eb95335283a3920 authored almost 8 years ago by Maksym Vorobiov <[email protected]>
add support for RSA via jwks-rsa module

11ddb786b89c5dee5ccd3e5d6150dfb7a81bb38f authored almost 8 years ago by Maksym Vorobiov <[email protected]>
3.0.1

da391c51cff6797db5ec7f0be40b8f292af56ef3 authored almost 8 years ago by Scott Donnelly <[email protected]>
Merge pull request #89 from koajs/pinned-deps-add-yarn-lock

Pinned dependencies and added yarn.lock

69644b35a354a77e8d0123a6f32135036e5a3400 authored almost 8 years ago by Scott Donnelly <[email protected]>
add yarn lock, missing from last commit

91c5d7c2b9396eb64cd57052e128c550ab7bdd58 authored almost 8 years ago by Scott Donnelly <[email protected]>
pinned unpinned deps (except Koa - we want to know if koa latest breaks stuff). Added yarn.lock

9d73140fc8abe1c7101844c03ca60c85b569e000 authored almost 8 years ago by Scott Donnelly <[email protected]>
Merge pull request #88 from jozsi/koa-v2

Pin koa-unless dependency to version 1.0.0

422aec9b445c3896fa7c67df0135c8ff0569a3b5 authored almost 8 years ago by Scott Donnelly <[email protected]>
Pin koa-unless dependency to version 1.0.0

koa-unless v1.0.1 is broken, yet

e6b34630ec1df0fa8bfada9600beb8af034fb8d4 authored almost 8 years ago by Józsi <[email protected]>
3.0.0

d8dc6d51cf184c48c618747518ab10a723862fd0 authored almost 8 years ago by Scott Donnelly <[email protected]>
Merge pull request #84 from koajs/remove-bluebird-refactor-async-await

Remove Bluebird and refactor using async/await

c385d5e2bedcd6ae623a76eb3c5c9d99504343f5 authored almost 8 years ago by Scott Donnelly <[email protected]>
update dependencies

* Koa 2.0.1 is the first proper koa 2 release - koa 2.0.0 was erroneously released in March 2016...

45778e96e4640fb5e54fe701bb2ff903d3372ea0 authored almost 8 years ago by Scott Donnelly <[email protected]>
use `throw` rather than `ctx.throw` in revocation

0f7b068ca080e04136fee08f460ef35dce3eac93 authored almost 8 years ago by Scott Donnelly <[email protected]>
`const secret` uses destructure / default param

f3c5965f52e07de8d36016358c8adbdb7bb2d6a6 authored almost 8 years ago by Scott Donnelly <[email protected]>
replace strict mode directive

b465ed0cc225141de44a8a96f6716fcbbc35df26 authored almost 8 years ago by Scott Donnelly <[email protected]>
Remove Bluebird and refactor using async/await

* Bluebird has been removed in favour of a native promise wrapper around jsonwebtoken
* The compl...

0aedfe03ae7f3ebb9372792544ee6a84c4d4560c authored almost 8 years ago by Scott Donnelly <[email protected]>
Merge pull request #83 from koajs/v2-as-latest

Prepare to publish v2.x tagged as latest

2c258e7ddcb710e80e601d9bf4de977552e457d7 authored almost 8 years ago by Scott Donnelly <[email protected]>
only run TravisCI vs node 7.6+

b6b8b9fbff6f5a29f0836b0698dd53690ca14b03 authored almost 8 years ago by Scott Donnelly <[email protected]>
update installation instructions

d4a784b339fd405c35a8d5a70ebeb7b8124c614c authored almost 8 years ago by Scott Donnelly <[email protected]>
Update package.json

* Set the minimum engine to node 7.6
* bump the minor version
* remove the publishConfig so th...

c2512aa6ac7438428f045aa2d44925b870cc6cfe authored almost 8 years ago by Scott Donnelly <[email protected]>
2.2.2

408f7fa3f9756e1b9cced2b2aabc98e28e4d7f20 authored almost 8 years ago by Scott Donnelly <[email protected]>
2.2.1

f7f27ba0584804a058755ec1c23d31e89e40e0d0 authored almost 8 years ago by Scott Donnelly <[email protected]>
add publishConfig to auto push koa2 branch as koa2 tag (#81)

* add publishConfig to auto push koa2 branch as koa2 tag

* use koa2 tag as existing koa2 bran...

b932064885eb9c2781c7d9671d4985d084391bda authored almost 8 years ago by Scott Donnelly <[email protected]>
Prevent default value for `opts.tokenKey` from overwriting `ctx.state.token` (#78)

* Fix issue 77

Prevent default value for `opts.tokenKey` from overwriting `ctx.state.token`
...

908fcb65a6b1b5efba79a541e5d1638dbb086ebb authored almost 8 years ago by Scott Donnelly <[email protected]>
Update version to 2.2.0

ba704b19c473806b4671e86f15bef13fa8f944db authored almost 8 years ago by Scott Donnelly <[email protected]>
Merge pull request #72 from sc0ttyd/const-let-arrow-readme-koa-v2

opts.tokenKey, Array.find, const/let/arrow functions, Readme changes.

65ac88d480a8f53f19f01a328b525a7b42145f4b authored almost 8 years ago by Scott Donnelly <[email protected]>
refactor tokenKey for backward compatibility to avoid accidentally clobbering ctx.state.token on an update of koa-jwt

3c2b41fc37a5f7d01a80af9b802229ae32e91507 authored almost 8 years ago by Scott Donnelly <[email protected]>
revert bluebird removal changes

f8041be07c5b7b23b3d2a7ed60bbd3fa5a55787a authored almost 8 years ago by Scott Donnelly <[email protected]>
use any-promise for best flexibility / compatibility

56f4e19589efe8ed057623f723dd58506df4d3db authored almost 8 years ago by Scott Donnelly <[email protected]>
Merge pull request #71 from scttcper/travis-node-versions

add node 6 to travis tests

3ebcfa09b8cb5ab5af9409e055f02f5913ae7d30 authored almost 8 years ago by Scott Donnelly <[email protected]>
Update .travis.yml

20dcc1a0ac4442006d5368b67443c1c5d9cab715 authored almost 8 years ago by Scott Cooper <[email protected]>
add documentation regarding opts.tokenKey. Re-wording of test name and removval or unused var

f548b4704c832426bf1bb8bba080cbde7dcfd628 authored almost 8 years ago by Scott Donnelly <[email protected]>
changes from v1 branch #66 and #68 (ctx.state[opts.tokenKey])

0f8574c3c43f6136817f746845e7f66b01f5923a authored almost 8 years ago by Scott Donnelly <[email protected]>
update contributors

baab92402e85eb30946d146a705649475f388be0 authored almost 8 years ago by Scott Donnelly <[email protected]>
add fix from v1 #46 by @jhnns

1b2a5443735886f5ba51e6fe02972f105582bc06 authored almost 8 years ago by Scott Donnelly <[email protected]>
clarify that JWT functions are still exported on v1/master branch

0b0a35e83f6bd2e0f056dac64d6050db8644635e authored almost 8 years ago by Scott Donnelly <[email protected]>
update contributors

1871a6bcdcb354964b7fbbcb5c2f09f2040f300e authored almost 8 years ago by Scott Donnelly <[email protected]>
update readme regarding no longer exporting jsonwebtoken functions on koa-v2 branch

c89b2ac23cf3fb7c8fd840ae90417603c7fbbf87 authored almost 8 years ago by Scott Donnelly <[email protected]>
add note to readme regarding versions

03c786a109b6860290dea36907206ce9f839b73b authored almost 8 years ago by Scott Donnelly <[email protected]>
remove merge artifact

9424490573c0e0f608a8fd8eda95aca1c05c931d authored almost 8 years ago by Scott Donnelly <[email protected]>
remove duplicate string

5e2f79dab967ca24cfefea62da34ed4e24430016 authored almost 8 years ago by Scott Donnelly <[email protected]>
remove unused import and rename validate to validateJWT

267946fdde49c4c61cc130c222d3d1e5da6cde83 authored almost 8 years ago by Scott Donnelly <[email protected]>
arrow functions and const/let where appropriate

acc55b9c37b31d56288465af2f0e3094ec9aaaf2 authored almost 8 years ago by Scott Donnelly <[email protected]>
simplify resolveCookies and revocationHandler functions

e8a1e88bb20b7f7b7a0f2925f5c2b4847885b308 authored almost 8 years ago by Scott Donnelly <[email protected]>
make promise catch consistent with other arrow funcs, with const instead of let and non-returning ctx.throw. Simplify superfluous anon func in favour of then(next)

eb34b6c77373201f4421a405a2f80b4c7ab0c7b9 authored almost 8 years ago by Scott Donnelly <[email protected]>
move revocation handler functions out of jwt() function to avoid creating functions each time through the middleware and to reduce jwt() function complexity

7c98b8eb0ee768e1a5c033598670dfdfab9c565a authored almost 8 years ago by Scott Donnelly <[email protected]>
replace var with const/let and anon function with arrow function

9ea573446c97293a9074257c9e93530454041428 authored almost 8 years ago by Scott Donnelly <[email protected]>
remove unused import

2fce811bde45cb0b7198c994e71c7400a4d0c033 authored almost 8 years ago by Scott Donnelly <[email protected]>
Replace for loop -> .find

27775ab933e51fa44a6c82c869e7157922b08360 authored almost 8 years ago by Nicolás Fantone <[email protected]>
add node 5, 6, 7 to travis

b02f39fea15610bb74c6b4c8a29668572b0ed447 authored almost 8 years ago by Scott Cooper <[email protected]>
add verify.js

cd9ad9c5a82b36a0bb167f484c90afef29aa62e5 authored almost 8 years ago by Scott Cooper <[email protected]>
Merge branch 'koa-v2' into use-native-promise

34904a84623c3ca4efec864dd1ae7e16245ae025 authored almost 8 years ago by Scott Cooper <[email protected]>
Merge pull request #61 from rrequero/koa-v2

add support to isRevoked check function

04a5e65eb684871873637115d4aefe6612b20321 authored almost 8 years ago by Scott Donnelly <[email protected]>
Merge pull request #59 from syaning/koa-v2

use typeof instead of util.isFunction

09fb5cdb7c9068814a553496f702f1aeee589c83 authored almost 8 years ago by Scott Donnelly <[email protected]>
remove unnecesary require

a4fe6ac213067bc4884486a5a2ee9bf3521ae26c authored almost 8 years ago by rrequero <[email protected]>
refactor to improve performance

454c0ce4925adb9802a9e0c292991c3705cbcdcf authored almost 8 years ago by rrequero <[email protected]>
fix error in resolve isRevoked

51f110d4c4f4907ee30487e4e98594e918cbcb99 authored about 8 years ago by rrequero <[email protected]>
update doc

e153d6e46e1adf3d30a85c7a9a1b7b45df0ddfcc authored about 8 years ago by rrequero <[email protected]>
update feature to same similar to express-jwt

fbe199eda9c05be38489984b6207d56d3bbf6240 authored about 8 years ago by rrequero <[email protected]>
add support to isRevoked check function

7d9c032a29a65331ef6b56bffee1fcb936dce926 authored about 8 years ago by rrequero <[email protected]>
use typeof instead of util.isFunction

3b006ff41e59f6d7f9ce96270d5339b58da8a824 authored about 8 years ago by syaning <[email protected]>
remove bluebird

df77f9892bdc01e3b49037270febaa57f86eb05a authored about 8 years ago by Scott Cooper <[email protected]>
Release v2.1.0

5707352706d9108b0ef391fc00a2ebc2c07454e3 authored about 8 years ago by Tejas Manohar <[email protected]>
Merge pull request #54 from DaAwesomeP/koa-v2

Update deps, use npm scripts, add coverage

b09e062e70d22cba7ad0f5ab5b6584107ffe1b30 authored about 8 years ago by Tejas Manohar <[email protected]>
update deps, npm scripts, coverage

3044cfc0befcb9b2e2cd917dce021ed00cfe7fa2 authored about 8 years ago by DaAwesomeP <[email protected]>
Bumped version

38c55f44c7e406c27c229cbac9e2a481039deeb5 authored over 8 years ago by Stian Grytøyr <[email protected]>
Fixed tests; Switched from status code 500 to 401 when no secret is found in the request

5770e7489b8b286da52aa6f208e9d525a59dea2e authored over 8 years ago by Stian Grytøyr <[email protected]>