Skip to content

feat: friendly login#438

Merged
AVVS merged 32 commits intomasterfrom
feat/loginFriendlyBlock
Dec 17, 2019
Merged

feat: friendly login#438
AVVS merged 32 commits intomasterfrom
feat/loginFriendlyBlock

Conversation

@annahassel
Copy link
Copy Markdown
Contributor

No description provided.

pajgo and others added 27 commits December 13, 2019 14:04
* remove redis TIME
* hires on client side
* rfc update
* ratelimiters config schema and enabled option
* rfc update
* hirestimestamp to timestamp
name: 'Error',
stack:
'Error: BadError\n at Object.internal (/src/test/suites/oauth/facebook.js:106:28)\n at Object.invoke (/src/node_modules/sinon/lib/sinon/behavior.js:151:35)\n at module.exports.internals.Auth.functionStub (/src/node_modules/sinon/lib/sinon/stub.js:130:47)\n at Function.invoke (/src/node_modules/sinon/lib/sinon/spy.js:297:51)\n at module.exports.internals.Auth.functionStub (/src/node_modules/sinon/lib/sinon/spy.js:90:30)\n at Users.test (/src/src/auth/oauth/index.js:149:45)\n at Users.tryCatcher (/src/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/src/node_modules/bluebird/js/release/promise.js:517:31)\n at Promise._settlePromise (/src/node_modules/bluebird/js/release/promise.js:574:18)\n at Promise._settlePromiseCtx (/src/node_modules/bluebird/js/release/promise.js:611:10)\n at _drainQueueStep (/src/node_modules/bluebird/js/release/async.js:142:12)\n at _drainQueue (/src/node_modules/bluebird/js/release/async.js:131:9)\n at Async._drainQueues (/src/node_modules/bluebird/js/release/async.js:147:5)\n at Immediate.Async.drainQueues [as _onImmediate] (/src/node_modules/bluebird/js/release/async.js:17:14)\n at runCallback (timers.js:705:18)\n at tryOnImmediate (timers.js:676:5)\n at processImmediate (timers.js:658:5)',
utils,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utils?

Comment thread rfcs/login_block_sliding_window.md Outdated

E.g.:
```javascript
const SlidingWindowlimiter = require(utils);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utils? :)

@annahassel annahassel marked this pull request as ready for review December 16, 2019 18:37
@annahassel annahassel changed the title Feat/login friendly block feat: friendly login Dec 16, 2019
@AVVS AVVS merged commit 1b4273c into master Dec 17, 2019
@AVVS AVVS deleted the feat/loginFriendlyBlock branch December 17, 2019 00:53
AVVS pushed a commit that referenced this pull request Dec 17, 2019
# [13.0.0](v12.1.4...v13.0.0) (2019-12-17)

### Features

* sliding window rate limitation for sign in ([#438](#438)) ([1b4273c](1b4273c))

### BREAKING CHANGES

* implements new rate limiting algorithm using sliding window. While overall the mechanics of rate limiting remain the same - it's now harder to lock out the ip completely as each unsuccessful attempt wont extend login attempt capture duration for another <keep login attempts time>. Consult with the docs on a new configuration format for the rate limiter
@AVVS
Copy link
Copy Markdown
Member

AVVS commented Dec 17, 2019

🎉 This PR is included in version 13.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@AVVS AVVS added the released label Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants