Commit bba2f29
v5.0.0-RC1
* Compute the correct redirect_uri in case of resource over denies access
According to https://tools.ietf.org/html/rfc6749#section-4.1.2.1
once the redirect_uri & client_id is correct authorization server should
inform the clinet, that user denied access.
The change is to move validation of resource owner approval after the
redirect_uri & client identifier validation so the correct redirect url
is computed
* Remove commented code
* Note we're now also seeking reviewers
* Update readme with link to v5-dev branch
* Add renovate.json
* Add link to examples repo. Closes oauthjs#571
* Update dependency bluebird to v3.7.2
* Update dependency jshint to v2.11.0
* Update dependency mocha to v3.5.3
* Update dependency sinon to v2.4.1
* Update dependency statuses to v1.5.0
* Update dependency basic-auth to v2
* Update node versions
* Bump lodash from 4.17.4 to 4.17.15
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.4 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.4...4.17.15)
Signed-off-by: dependabot[bot] <[email protected]>
* Update dependency type-is to v1.6.18
* Update dependency should to v13
* add codecoverage and upgrade packages
* Update dependency jshint to v2.11.1
* Drop support for node 4/6/8 and add tests for 14
* Update dependency sinon to v9
* Update dependency mocha to v7
* Release 3.0.2 🎉
* Release 3.0.2 🎉
* Revert "Drop support for node 4/6/8 and add tests for 14"
This reverts commit b84778b.
* Revert "Merge pull request oauthjs#596 from oauthjs/renovate/mocha-7.x"
This reverts commit cb2bb88, reversing
changes made to 6997303.
* Revert "Merge pull request oauthjs#602 from oauthjs/renovate/sinon-9.x"
This reverts commit 6997303, reversing
changes made to b84778b.
* Bump mocha and sinon to lastest versions supporting node v4
* Add testing for node v14
* Update readme with project status update
* remove renovate in favour of dependabot
* Add FUNDING.yml (oauthjs#630)
* Updated .gitignore
* Changed 'hasOwnProperty' call in Request
* Changed 'hasOwnProperty' call in Response
* set numArgs for promisify of generateAuthorizationCode
* readme: Update Slack badge and link
* fix: issue correct expiry dates for tokens oauthjs#444
related to a NodeJS (nodejs/node#7074) and furthermore
V8 bug (https://bugs.chromium.org/p/v8/issues/detail?id=3637); replaced
seconds calculation with milliseconds.
* Merge pull request oauthjs#451 from razvanz/fix/validate-scope-on-authorize
fix: validate requested scope on authorize request
* Merge pull request oauthjs#491 from mattgrande/master
docs: Ensure accessTokenExpiresAt is required
* Merge pull request oauthjs#471 from smartrecruiters/fix-migration-documentaiton
docs: Correct tokens time scale for 2.x to 3.x migration guide
* Updated changelog
* Tag 3.1.0-rc1
* 3.1.0 bump
* Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.15...4.17.19)
Signed-off-by: dependabot-preview[bot] <[email protected]>
* v3.1.1 (oauthjs#636)
* Bump jshint from 2.11.1 to 2.12.0 (oauthjs#640)
Bumps [jshint](https://github.com/jshint/jshint) from 2.11.1 to 2.12.0.
- [Release notes](https://github.com/jshint/jshint/releases)
- [Changelog](https://github.com/jshint/jshint/blob/master/CHANGELOG.md)
- [Commits](jshint/jshint@2.11.1...2.12.0)
Signed-off-by: dependabot-preview[bot] <[email protected]>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Set WWW-Authenticate header for invalid requests
This adds the WWW-Authenticate header for InvalidRequestError, InvalidTokenError,
and InsufficientScopeError, as specified in RFC 6750, Section 3
Fixes oauthjs#553
* cherry pick
* rm lock
* fix: lint erros
* fix grant types
* custom types init
* Update .travis.yml
* git merge artifact
Co-authored-by: Igor Czechowski <[email protected]>
Co-authored-by: Szymon Kiebzak <[email protected]>
Co-authored-by: Thom Seddon <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aras Abbasi <[email protected]>
Co-authored-by: mjsalinger <[email protected]>
Co-authored-by: Pritilender <[email protected]>
Co-authored-by: nkzawa <[email protected]>
Co-authored-by: Max Truxa <[email protected]>
Co-authored-by: Razvan <[email protected]>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Jonas Hermsmeier <[email protected]>1 parent 5efbab9 commit bba2f29
File tree
176 files changed
+7245
-439
lines changed- .github
- dist
- lib
- constants
- errors
- grant-types
- handlers
- interfaces
- models
- response-types
- token-types
- utils
- validator
- lib
- custom
- grant-types
- handlers
- test/integration/handlers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
176 files changed
+7245
-439
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments