@feathersjs/authentication-oauth 5.0.0-pre.6 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +156 -170
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/lib/index.d.ts +1 -3
- package/lib/index.js +22 -56
- package/lib/index.js.map +1 -1
- package/lib/service.d.ts +36 -0
- package/lib/service.js +143 -0
- package/lib/service.js.map +1 -0
- package/lib/strategy.d.ts +4 -3
- package/lib/strategy.js +95 -119
- package/lib/strategy.js.map +1 -1
- package/lib/utils.d.ts +13 -4
- package/lib/utils.js +90 -5
- package/lib/utils.js.map +1 -1
- package/package.json +32 -23
- package/src/index.ts +35 -66
- package/src/service.ts +179 -0
- package/src/strategy.ts +97 -80
- package/src/utils.ts +118 -12
- package/lib/express.d.ts +0 -16
- package/lib/express.js +0 -114
- package/lib/express.js.map +0 -1
- package/src/express.ts +0 -128
package/CHANGELOG.md
CHANGED
|
@@ -3,432 +3,418 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [5.0.0
|
|
6
|
+
# [5.0.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.38...v5.0.0) (2023-02-24)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
9
9
|
|
|
10
|
+
# [5.0.0-pre.38](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.37...v5.0.0-pre.38) (2023-02-17)
|
|
10
11
|
|
|
12
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
11
13
|
|
|
14
|
+
# [5.0.0-pre.37](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.36...v5.0.0-pre.37) (2023-02-09)
|
|
12
15
|
|
|
16
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
13
17
|
|
|
14
|
-
# [5.0.0-pre.
|
|
15
|
-
|
|
18
|
+
# [5.0.0-pre.36](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.35...v5.0.0-pre.36) (2023-01-29)
|
|
16
19
|
|
|
17
20
|
### Bug Fixes
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
- **authentication-oauth:** Use original headers in oauth flow ([#3025](https://github.com/feathersjs/feathers/issues/3025)) ([fb3d8cc](https://github.com/feathersjs/feathers/commit/fb3d8cca123d68a77b096bc92e49baa55424afe0))
|
|
23
|
+
- Update all dependencies ([#3024](https://github.com/feathersjs/feathers/issues/3024)) ([283dc47](https://github.com/feathersjs/feathers/commit/283dc4798d85584bc031e6e54b83b4ea77d1edd0))
|
|
21
24
|
|
|
25
|
+
# [5.0.0-pre.35](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.34...v5.0.0-pre.35) (2023-01-12)
|
|
22
26
|
|
|
23
27
|
### Features
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
- **generators:** Move core code generators to shared generators package ([#2982](https://github.com/feathersjs/feathers/issues/2982)) ([0328d22](https://github.com/feathersjs/feathers/commit/0328d2292153870bc43958f73d2c6f288a8cec17))
|
|
26
30
|
|
|
31
|
+
# [5.0.0-pre.34](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.33...v5.0.0-pre.34) (2022-12-14)
|
|
27
32
|
|
|
33
|
+
### Bug Fixes
|
|
28
34
|
|
|
35
|
+
- **core:** Improve service option usage and method option typings ([#2902](https://github.com/feathersjs/feathers/issues/2902)) ([164d75c](https://github.com/feathersjs/feathers/commit/164d75c0f11139a316baa91f1762de8f8eb7da2d))
|
|
29
36
|
|
|
30
|
-
|
|
31
|
-
# [5.0.0-pre.4](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.3...v5.0.0-pre.4) (2021-05-13)
|
|
37
|
+
# [5.0.0-pre.33](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.32...v5.0.0-pre.33) (2022-11-08)
|
|
32
38
|
|
|
33
39
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
34
40
|
|
|
41
|
+
# [5.0.0-pre.32](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.31...v5.0.0-pre.32) (2022-10-26)
|
|
35
42
|
|
|
43
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
36
44
|
|
|
45
|
+
# [5.0.0-pre.31](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.30...v5.0.0-pre.31) (2022-10-12)
|
|
37
46
|
|
|
47
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
38
48
|
|
|
39
|
-
# [5.0.0-pre.
|
|
40
|
-
|
|
49
|
+
# [5.0.0-pre.30](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.29...v5.0.0-pre.30) (2022-10-07)
|
|
41
50
|
|
|
42
51
|
### Bug Fixes
|
|
43
52
|
|
|
44
|
-
|
|
45
|
-
|
|
53
|
+
- **authentication-oauth:** Fix regression with prefix handling in OAuth ([#2773](https://github.com/feathersjs/feathers/issues/2773)) ([b1844b1](https://github.com/feathersjs/feathers/commit/b1844b1f27feeb7e66920ec9e318872857711834))
|
|
46
54
|
|
|
47
55
|
### Features
|
|
48
56
|
|
|
49
|
-
|
|
57
|
+
- **core:** Allow to unregister services at runtime ([#2756](https://github.com/feathersjs/feathers/issues/2756)) ([d16601f](https://github.com/feathersjs/feathers/commit/d16601f2277dca5357866ffdefba2a611f6dc7fa))
|
|
50
58
|
|
|
59
|
+
# [5.0.0-pre.29](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.28...v5.0.0-pre.29) (2022-09-16)
|
|
51
60
|
|
|
61
|
+
### Bug Fixes
|
|
52
62
|
|
|
63
|
+
- **authentication-oauth:** Fix oAuth origin and error handling ([#2752](https://github.com/feathersjs/feathers/issues/2752)) ([f7e1c33](https://github.com/feathersjs/feathers/commit/f7e1c33de1b7af0672a302d2ba6e15d997f0aa83))
|
|
53
64
|
|
|
65
|
+
### Features
|
|
54
66
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
67
|
+
- Add CORS support to oAuth, Express, Koa and generated application ([#2744](https://github.com/feathersjs/feathers/issues/2744)) ([fd218f2](https://github.com/feathersjs/feathers/commit/fd218f289f8ca4c101e9938e8683e2efef6e8131))
|
|
68
|
+
- **authentication-oauth:** Koa and transport independent oAuth authentication ([#2737](https://github.com/feathersjs/feathers/issues/2737)) ([9231525](https://github.com/feathersjs/feathers/commit/9231525a24bb790ba9c5d940f2867a9c727691c9))
|
|
58
69
|
|
|
70
|
+
# [5.0.0-pre.28](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.27...v5.0.0-pre.28) (2022-08-03)
|
|
59
71
|
|
|
72
|
+
### Bug Fixes
|
|
60
73
|
|
|
74
|
+
- **cli:** Improve generated application and client ([#2701](https://github.com/feathersjs/feathers/issues/2701)) ([bd55ffb](https://github.com/feathersjs/feathers/commit/bd55ffb812e89bf215f4515e7f137656ea888c3f))
|
|
61
75
|
|
|
62
|
-
|
|
63
|
-
# [5.0.0-beta.1](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2021-04-03)
|
|
76
|
+
# [5.0.0-pre.27](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.26...v5.0.0-pre.27) (2022-07-13)
|
|
64
77
|
|
|
65
78
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
66
79
|
|
|
80
|
+
# [5.0.0-pre.26](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.25...v5.0.0-pre.26) (2022-06-22)
|
|
67
81
|
|
|
82
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
68
83
|
|
|
84
|
+
# [5.0.0-pre.25](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.24...v5.0.0-pre.25) (2022-06-22)
|
|
69
85
|
|
|
86
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
70
87
|
|
|
71
|
-
# [5.0.0-
|
|
72
|
-
|
|
88
|
+
# [5.0.0-pre.24](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.23...v5.0.0-pre.24) (2022-06-21)
|
|
73
89
|
|
|
74
90
|
### Bug Fixes
|
|
75
91
|
|
|
76
|
-
|
|
77
|
-
|
|
92
|
+
- **authentication-oauth:** Fix bug and properly set Grant defaults ([#2659](https://github.com/feathersjs/feathers/issues/2659)) ([cb93bb9](https://github.com/feathersjs/feathers/commit/cb93bb911fd92282424da2db805cd685b7e4a45b))
|
|
78
93
|
|
|
79
94
|
### Features
|
|
80
95
|
|
|
81
|
-
|
|
96
|
+
- **cli:** Add typed client to a generated app ([#2669](https://github.com/feathersjs/feathers/issues/2669)) ([5b801b5](https://github.com/feathersjs/feathers/commit/5b801b5017ddc3eaa95622b539f51d605916bc86))
|
|
82
97
|
|
|
98
|
+
# [5.0.0-pre.23](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.22...v5.0.0-pre.23) (2022-06-06)
|
|
83
99
|
|
|
100
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
84
101
|
|
|
102
|
+
# [5.0.0-pre.22](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.21...v5.0.0-pre.22) (2022-05-24)
|
|
85
103
|
|
|
104
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
86
105
|
|
|
87
|
-
# [5.0.0-pre.
|
|
106
|
+
# [5.0.0-pre.21](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.20...v5.0.0-pre.21) (2022-05-23)
|
|
88
107
|
|
|
108
|
+
### Bug Fixes
|
|
89
109
|
|
|
110
|
+
- **authentication-oauth:** Fix regression using incorrect callback and redirect_uri ([#2631](https://github.com/feathersjs/feathers/issues/2631)) ([43d8a08](https://github.com/feathersjs/feathers/commit/43d8a082d7e1807f8a431c44a1dbd9b04c3af0d2))
|
|
90
111
|
|
|
91
|
-
# [5.0.0-pre.
|
|
112
|
+
# [5.0.0-pre.20](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.19...v5.0.0-pre.20) (2022-05-04)
|
|
92
113
|
|
|
93
|
-
|
|
114
|
+
### Bug Fixes
|
|
94
115
|
|
|
116
|
+
- **authentication-oauth:** Don't send origins in Grant's config, as it will be considered another provider ([#2617](https://github.com/feathersjs/feathers/issues/2617)) ([ae3dddd](https://github.com/feathersjs/feathers/commit/ae3dddd8a654924465512d56b4651413912c6932))
|
|
117
|
+
- **dependencies:** Lock monorepo package version numbers ([#2623](https://github.com/feathersjs/feathers/issues/2623)) ([5640c10](https://github.com/feathersjs/feathers/commit/5640c1020cc139994e695d658c08bad3494db507))
|
|
95
118
|
|
|
119
|
+
# [5.0.0-pre.19](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.18...v5.0.0-pre.19) (2022-05-01)
|
|
96
120
|
|
|
121
|
+
### Bug Fixes
|
|
97
122
|
|
|
123
|
+
- **authentication-oauth:** Fix issue with overriding the default Grant configuration ([#2615](https://github.com/feathersjs/feathers/issues/2615)) ([b345857](https://github.com/feathersjs/feathers/commit/b3458578532f9750de2940aeb8afdc75cb0b46f2))
|
|
124
|
+
- **authentication-oauth:** Make oAuth authentication work with cookie-session ([#2614](https://github.com/feathersjs/feathers/issues/2614)) ([9f10bfc](https://github.com/feathersjs/feathers/commit/9f10bfc75083d5bcabea77cfb385aa3965cdf6d6))
|
|
98
125
|
|
|
99
|
-
|
|
126
|
+
### Features
|
|
100
127
|
|
|
101
|
-
**
|
|
128
|
+
- **typescript:** Improve params and query typeability ([#2600](https://github.com/feathersjs/feathers/issues/2600)) ([df28b76](https://github.com/feathersjs/feathers/commit/df28b7619161f1df5e700326f52cca1a92dc5d28))
|
|
102
129
|
|
|
130
|
+
# [5.0.0-pre.18](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.17...v5.0.0-pre.18) (2022-04-11)
|
|
103
131
|
|
|
132
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
104
133
|
|
|
105
|
-
|
|
134
|
+
# [5.0.0-pre.17](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.16...v5.0.0-pre.17) (2022-02-15)
|
|
106
135
|
|
|
136
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
137
|
+
|
|
138
|
+
# [5.0.0-pre.16](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.15...v5.0.0-pre.16) (2022-01-12)
|
|
107
139
|
|
|
108
140
|
### Bug Fixes
|
|
109
141
|
|
|
110
|
-
|
|
142
|
+
- **authentication-oauth:** OAuth redirect lost sometimes due to session store race ([#2514](https://github.com/feathersjs/feathers/issues/2514)) ([#2515](https://github.com/feathersjs/feathers/issues/2515)) ([6109c44](https://github.com/feathersjs/feathers/commit/6109c44428c6b8f6bb4e089be760ea1a4ef3d01e))
|
|
111
143
|
|
|
144
|
+
# [5.0.0-pre.15](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.14...v5.0.0-pre.15) (2021-11-27)
|
|
112
145
|
|
|
146
|
+
### Features
|
|
113
147
|
|
|
148
|
+
- **authentication-oauth:** Allow dynamic oAuth redirect ([#2469](https://github.com/feathersjs/feathers/issues/2469)) ([b7143d4](https://github.com/feathersjs/feathers/commit/b7143d4c0fbe961e714f79512be04449b9bbd7d9))
|
|
114
149
|
|
|
115
|
-
|
|
116
|
-
## [4.5.8](https://github.com/feathersjs/feathers/compare/v4.5.7...v4.5.8) (2020-08-12)
|
|
150
|
+
# [5.0.0-pre.14](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.13...v5.0.0-pre.14) (2021-10-13)
|
|
117
151
|
|
|
118
152
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
119
153
|
|
|
154
|
+
# [5.0.0-pre.13](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.12...v5.0.0-pre.13) (2021-10-13)
|
|
120
155
|
|
|
156
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
121
157
|
|
|
158
|
+
# [5.0.0-pre.12](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.11...v5.0.0-pre.12) (2021-10-12)
|
|
122
159
|
|
|
160
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
123
161
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
### Bug Fixes
|
|
162
|
+
# [5.0.0-pre.11](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.10...v5.0.0-pre.11) (2021-10-06)
|
|
128
163
|
|
|
129
|
-
|
|
164
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
130
165
|
|
|
166
|
+
# [5.0.0-pre.10](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.9...v5.0.0-pre.10) (2021-09-19)
|
|
131
167
|
|
|
168
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
132
169
|
|
|
170
|
+
# [5.0.0-pre.9](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.8...v5.0.0-pre.9) (2021-08-09)
|
|
133
171
|
|
|
172
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
134
173
|
|
|
135
|
-
|
|
174
|
+
# [5.0.0-pre.8](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.7...v5.0.0-pre.8) (2021-08-09)
|
|
136
175
|
|
|
137
176
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
138
177
|
|
|
178
|
+
# [5.0.0-pre.7](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.6...v5.0.0-pre.7) (2021-08-09)
|
|
139
179
|
|
|
180
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
140
181
|
|
|
182
|
+
# [5.0.0-pre.6](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.5...v5.0.0-pre.6) (2021-08-08)
|
|
141
183
|
|
|
184
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
142
185
|
|
|
143
|
-
|
|
144
|
-
|
|
186
|
+
# [5.0.0-pre.5](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.4...v5.0.0-pre.5) (2021-06-23)
|
|
145
187
|
|
|
146
188
|
### Bug Fixes
|
|
147
189
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
190
|
+
- **authentication-oauth:** Omit query from internal calls ([#2398](https://github.com/feathersjs/feathers/issues/2398)) ([04c7c83](https://github.com/feathersjs/feathers/commit/04c7c83eeaa6a7466c84b958071b468ed42f0b0f))
|
|
191
|
+
- **koa:** Use extended query parser for compatibility ([#2397](https://github.com/feathersjs/feathers/issues/2397)) ([b2944ba](https://github.com/feathersjs/feathers/commit/b2944bac3ec6d5ecc80dc518cd4e58093692db74))
|
|
151
192
|
|
|
193
|
+
### Features
|
|
152
194
|
|
|
195
|
+
- **adapter-commons:** Add support for params.adapter option and move memory adapter to @feathersjs/memory ([#2367](https://github.com/feathersjs/feathers/issues/2367)) ([a43e7da](https://github.com/feathersjs/feathers/commit/a43e7da22b6b981a96d1321736ea9a0cb924fb4f))
|
|
153
196
|
|
|
197
|
+
# [5.0.0-pre.4](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.3...v5.0.0-pre.4) (2021-05-13)
|
|
154
198
|
|
|
155
|
-
|
|
199
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
156
200
|
|
|
201
|
+
# [5.0.0-pre.3](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.2...v5.0.0-pre.3) (2021-04-21)
|
|
157
202
|
|
|
158
203
|
### Bug Fixes
|
|
159
204
|
|
|
160
|
-
|
|
205
|
+
- **typescript:** Improve TypeScript backwards compatibility ([#2310](https://github.com/feathersjs/feathers/issues/2310)) ([f33be73](https://github.com/feathersjs/feathers/commit/f33be73fc46a533efb15df9aab0658e3240d3897))
|
|
161
206
|
|
|
207
|
+
### Features
|
|
162
208
|
|
|
209
|
+
- **dependencies:** Remove direct debug dependency ([#2296](https://github.com/feathersjs/feathers/issues/2296)) ([501d416](https://github.com/feathersjs/feathers/commit/501d4164d30c6a126906dc640cdfdc82207ba34a))
|
|
163
210
|
|
|
211
|
+
# [5.0.0-pre.2](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.1...v5.0.0-pre.2) (2021-04-06)
|
|
164
212
|
|
|
213
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
165
214
|
|
|
166
|
-
|
|
215
|
+
# [5.0.0-beta.1](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2021-04-03)
|
|
167
216
|
|
|
217
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
218
|
+
|
|
219
|
+
# [5.0.0-beta.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.1...v5.0.0-beta.0) (2021-03-28)
|
|
168
220
|
|
|
169
221
|
### Bug Fixes
|
|
170
222
|
|
|
171
|
-
|
|
223
|
+
- Update Grant usage and other dependencies ([#2264](https://github.com/feathersjs/feathers/issues/2264)) ([7b0f8fa](https://github.com/feathersjs/feathers/commit/7b0f8fad252419ed0ad0bf259cdf3104d322ab60))
|
|
172
224
|
|
|
225
|
+
### Features
|
|
173
226
|
|
|
227
|
+
- Feathers v5 core refactoring and features ([#2255](https://github.com/feathersjs/feathers/issues/2255)) ([2dafb7c](https://github.com/feathersjs/feathers/commit/2dafb7ce14ba57406aeec13d10ca45b1e709bee9))
|
|
174
228
|
|
|
229
|
+
# [5.0.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.5.11...v5.0.0-pre.1) (2020-12-17)
|
|
175
230
|
|
|
231
|
+
# [5.0.0-pre.0](https://github.com/feathersjs/feathers/compare/v4.5.4...v5.0.0-pre.0) (2020-05-19)
|
|
176
232
|
|
|
177
|
-
|
|
233
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
234
|
+
|
|
235
|
+
# [5.0.0-pre.0](https://github.com/feathersjs/feathers/compare/v4.5.4...v5.0.0-pre.0) (2020-05-19)
|
|
178
236
|
|
|
237
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
238
|
+
|
|
239
|
+
## [4.5.9](https://github.com/feathersjs/feathers/compare/v4.5.8...v4.5.9) (2020-10-09)
|
|
179
240
|
|
|
180
241
|
### Bug Fixes
|
|
181
242
|
|
|
182
|
-
|
|
243
|
+
- **authentication-oauth:** Always end session after oAuth flows are finished ([#2087](https://github.com/feathersjs/feathers/issues/2087)) ([d219d0d](https://github.com/feathersjs/feathers/commit/d219d0d89c5e45aa289dd67cb0c8bdc05044c846))
|
|
183
244
|
|
|
245
|
+
## [4.5.8](https://github.com/feathersjs/feathers/compare/v4.5.7...v4.5.8) (2020-08-12)
|
|
184
246
|
|
|
247
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
248
|
+
|
|
249
|
+
## [4.5.7](https://github.com/feathersjs/feathers/compare/v4.5.6...v4.5.7) (2020-07-24)
|
|
185
250
|
|
|
251
|
+
### Bug Fixes
|
|
186
252
|
|
|
253
|
+
- **typescript:** Revert add overload types for `find` service methods ([#1972](https://github.com/feathersjs/feathers/issues/1972))" ([#2025](https://github.com/feathersjs/feathers/issues/2025)) ([a9501ac](https://github.com/feathersjs/feathers/commit/a9501acb4d3ef58dfb87d62c57a9bf76569da281))
|
|
187
254
|
|
|
188
|
-
## [4.5.
|
|
255
|
+
## [4.5.6](https://github.com/feathersjs/feathers/compare/v4.5.5...v4.5.6) (2020-07-12)
|
|
189
256
|
|
|
190
257
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
191
258
|
|
|
259
|
+
## [4.5.5](https://github.com/feathersjs/feathers/compare/v4.5.4...v4.5.5) (2020-07-11)
|
|
192
260
|
|
|
261
|
+
### Bug Fixes
|
|
193
262
|
|
|
263
|
+
- **authentication-oauth:** Updated typings for projects with strictNullChecks ([#1941](https://github.com/feathersjs/feathers/issues/1941)) ([be91206](https://github.com/feathersjs/feathers/commit/be91206e3dba1e65a81412b7aa636bece3ab4aa2))
|
|
264
|
+
- **typescript:** add overload types for `find` service methods ([#1972](https://github.com/feathersjs/feathers/issues/1972)) ([ef55af0](https://github.com/feathersjs/feathers/commit/ef55af088d05d9d36aba9d9f8d6c2c908a4f20dd))
|
|
194
265
|
|
|
266
|
+
## [4.5.4](https://github.com/feathersjs/feathers/compare/v4.5.3...v4.5.4) (2020-04-29)
|
|
195
267
|
|
|
196
|
-
|
|
268
|
+
### Bug Fixes
|
|
197
269
|
|
|
270
|
+
- **authentication-oauth:** Add getEntity method to oAuth authentication and remove provider field for other calls ([#1935](https://github.com/feathersjs/feathers/issues/1935)) ([d925c1b](https://github.com/feathersjs/feathers/commit/d925c1bd193b5c19cb23a246f04fc46d0429fc75))
|
|
198
271
|
|
|
199
|
-
|
|
272
|
+
## [4.5.3](https://github.com/feathersjs/feathers/compare/v4.5.2...v4.5.3) (2020-04-17)
|
|
200
273
|
|
|
201
|
-
|
|
274
|
+
### Bug Fixes
|
|
202
275
|
|
|
276
|
+
- **authentication-oauth:** Allow req.feathers to be used in oAuth authentication requests ([#1886](https://github.com/feathersjs/feathers/issues/1886)) ([854c9ca](https://github.com/feathersjs/feathers/commit/854c9cac9a9a5f8f89054a90feb24ab5c4766f5f))
|
|
203
277
|
|
|
278
|
+
## [4.5.2](https://github.com/feathersjs/feathers/compare/v4.5.1...v4.5.2) (2020-03-04)
|
|
204
279
|
|
|
280
|
+
### Bug Fixes
|
|
205
281
|
|
|
282
|
+
- **package:** update grant-profile to version 0.0.11 ([#1841](https://github.com/feathersjs/feathers/issues/1841)) ([5dcd2aa](https://github.com/feathersjs/feathers/commit/5dcd2aa3483059cc7a2546b145dd72b4705fe2fe))
|
|
206
283
|
|
|
207
|
-
## [4.
|
|
284
|
+
## [4.5.1](https://github.com/feathersjs/feathers/compare/v4.5.0...v4.5.1) (2020-01-24)
|
|
208
285
|
|
|
209
286
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
210
287
|
|
|
288
|
+
# [4.5.0](https://github.com/feathersjs/feathers/compare/v4.4.3...v4.5.0) (2020-01-18)
|
|
211
289
|
|
|
290
|
+
### Features
|
|
212
291
|
|
|
292
|
+
- **authentication-oauth:** Set oAuth redirect URL dynamically and pass query the service ([#1737](https://github.com/feathersjs/feathers/issues/1737)) ([0b05f0b](https://github.com/feathersjs/feathers/commit/0b05f0b58a257820fa61d695a36f36455209f6a1))
|
|
213
293
|
|
|
214
|
-
|
|
215
|
-
## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27)
|
|
294
|
+
## [4.4.3](https://github.com/feathersjs/feathers/compare/v4.4.1...v4.4.3) (2019-12-06)
|
|
216
295
|
|
|
217
296
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
218
297
|
|
|
298
|
+
## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27)
|
|
219
299
|
|
|
220
|
-
|
|
221
|
-
|
|
300
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
222
301
|
|
|
223
302
|
# [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27)
|
|
224
303
|
|
|
225
|
-
|
|
226
304
|
### Features
|
|
227
305
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
306
|
+
- **authentication-oauth:** Set oAuth redirect URL dynamically ([#1608](https://github.com/feathersjs/feathers/issues/1608)) ([1293e08](https://github.com/feathersjs/feathers/commit/1293e088abbb3d23f4a44680836645a8049ceaae))
|
|
233
307
|
|
|
234
308
|
## [4.3.11](https://github.com/feathersjs/feathers/compare/v4.3.10...v4.3.11) (2019-11-11)
|
|
235
309
|
|
|
236
|
-
|
|
237
310
|
### Bug Fixes
|
|
238
311
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
312
|
+
- **authentication-oauth:** Allow hash based redirects ([#1676](https://github.com/feathersjs/feathers/issues/1676)) ([ffe7cf3](https://github.com/feathersjs/feathers/commit/ffe7cf3fbb4e62d7689065cf7b61f25f602ce8cf))
|
|
244
313
|
|
|
245
314
|
## [4.3.10](https://github.com/feathersjs/feathers/compare/v4.3.9...v4.3.10) (2019-10-26)
|
|
246
315
|
|
|
247
316
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
248
317
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
318
|
## [4.3.9](https://github.com/feathersjs/feathers/compare/v4.3.8...v4.3.9) (2019-10-26)
|
|
254
319
|
|
|
255
|
-
|
|
256
320
|
### Bug Fixes
|
|
257
321
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
322
|
+
- Only initialize default Express session if oAuth is actually used ([#1648](https://github.com/feathersjs/feathers/issues/1648)) ([9b9b43f](https://github.com/feathersjs/feathers/commit/9b9b43ff09af1080e4aaa537064bac37b881c9a2))
|
|
263
323
|
|
|
264
324
|
## [4.3.7](https://github.com/feathersjs/feathers/compare/v4.3.6...v4.3.7) (2019-10-14)
|
|
265
325
|
|
|
266
326
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
267
327
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
328
|
## [4.3.5](https://github.com/feathersjs/feathers/compare/v4.3.4...v4.3.5) (2019-10-07)
|
|
273
329
|
|
|
274
330
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
275
331
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
332
|
## [4.3.4](https://github.com/feathersjs/feathers/compare/v4.3.3...v4.3.4) (2019-10-03)
|
|
281
333
|
|
|
282
334
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
283
335
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
336
|
## [4.3.3](https://github.com/feathersjs/feathers/compare/v4.3.2...v4.3.3) (2019-09-21)
|
|
289
337
|
|
|
290
|
-
|
|
291
338
|
### Bug Fixes
|
|
292
339
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
340
|
+
- Small improvements in dependencies and code sturcture ([#1562](https://github.com/feathersjs/feathers/issues/1562)) ([42c13e2](https://github.com/feathersjs/feathers/commit/42c13e2))
|
|
298
341
|
|
|
299
342
|
## [4.3.2](https://github.com/feathersjs/feathers/compare/v4.3.1...v4.3.2) (2019-09-16)
|
|
300
343
|
|
|
301
344
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
302
345
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
346
|
## [4.3.1](https://github.com/feathersjs/feathers/compare/v4.3.0...v4.3.1) (2019-09-09)
|
|
308
347
|
|
|
309
|
-
|
|
310
348
|
### Bug Fixes
|
|
311
349
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
350
|
+
- Omit standard protocol ports from the default hostname ([#1543](https://github.com/feathersjs/feathers/issues/1543)) ([ef16d29](https://github.com/feathersjs/feathers/commit/ef16d29))
|
|
317
351
|
|
|
318
352
|
# [4.3.0](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.4...v4.3.0) (2019-08-27)
|
|
319
353
|
|
|
320
354
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
321
355
|
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
356
|
# [4.3.0-pre.4](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.3...v4.3.0-pre.4) (2019-08-22)
|
|
327
357
|
|
|
328
358
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
329
359
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
360
|
# [4.3.0-pre.3](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.2...v4.3.0-pre.3) (2019-08-19)
|
|
335
361
|
|
|
336
|
-
|
|
337
362
|
### Bug Fixes
|
|
338
363
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
364
|
+
- Update all dependencies ([7d53a00](https://github.com/feathersjs/feathers/commit/7d53a00))
|
|
365
|
+
- Use WeakMap to connect socket to connection ([#1509](https://github.com/feathersjs/feathers/issues/1509)) ([64807e3](https://github.com/feathersjs/feathers/commit/64807e3))
|
|
345
366
|
|
|
346
367
|
# [4.3.0-pre.2](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.1...v4.3.0-pre.2) (2019-08-02)
|
|
347
368
|
|
|
348
|
-
|
|
349
369
|
### Bug Fixes
|
|
350
370
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
371
|
+
- Add method to reliably get default authentication service ([#1470](https://github.com/feathersjs/feathers/issues/1470)) ([e542cb3](https://github.com/feathersjs/feathers/commit/e542cb3))
|
|
356
372
|
|
|
357
373
|
# [4.3.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.5...v4.3.0-pre.1) (2019-07-11)
|
|
358
374
|
|
|
359
375
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
360
376
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
377
|
# [4.0.0-pre.5](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.4...v4.0.0-pre.5) (2019-07-10)
|
|
366
378
|
|
|
367
379
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
368
380
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
381
|
# [4.0.0-pre.4](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.3...v4.0.0-pre.4) (2019-07-05)
|
|
374
382
|
|
|
375
383
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
376
384
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
385
|
# [4.0.0-pre.3](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.2...v4.0.0-pre.3) (2019-06-01)
|
|
382
386
|
|
|
383
|
-
|
|
384
387
|
### Bug Fixes
|
|
385
388
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
389
|
+
- Make oAuth paths more consistent and improve authentication client ([#1377](https://github.com/feathersjs/feathers/issues/1377)) ([adb2543](https://github.com/feathersjs/feathers/commit/adb2543))
|
|
390
|
+
- Update dependencies and fix tests ([#1373](https://github.com/feathersjs/feathers/issues/1373)) ([d743a7f](https://github.com/feathersjs/feathers/commit/d743a7f))
|
|
392
391
|
|
|
393
392
|
# [4.0.0-pre.2](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.1...v4.0.0-pre.2) (2019-05-15)
|
|
394
393
|
|
|
395
|
-
|
|
396
394
|
### Bug Fixes
|
|
397
395
|
|
|
398
|
-
|
|
399
|
-
|
|
396
|
+
- Correctly read the oauth strategy config ([#1349](https://github.com/feathersjs/feathers/issues/1349)) ([9abf314](https://github.com/feathersjs/feathers/commit/9abf314))
|
|
400
397
|
|
|
401
398
|
### Features
|
|
402
399
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
400
|
+
- Add global disconnect event ([#1355](https://github.com/feathersjs/feathers/issues/1355)) ([85afcca](https://github.com/feathersjs/feathers/commit/85afcca))
|
|
408
401
|
|
|
409
402
|
# [4.0.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.0...v4.0.0-pre.1) (2019-05-08)
|
|
410
403
|
|
|
411
|
-
|
|
412
404
|
### Bug Fixes
|
|
413
405
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
406
|
+
- Always require strategy parameter in authentication ([#1327](https://github.com/feathersjs/feathers/issues/1327)) ([d4a8021](https://github.com/feathersjs/feathers/commit/d4a8021))
|
|
407
|
+
- Improve authentication parameter handling ([#1333](https://github.com/feathersjs/feathers/issues/1333)) ([6e77204](https://github.com/feathersjs/feathers/commit/6e77204))
|
|
408
|
+
- Improve oAuth option handling and usability ([#1335](https://github.com/feathersjs/feathers/issues/1335)) ([adb137d](https://github.com/feathersjs/feathers/commit/adb137d))
|
|
409
|
+
- Merge httpStrategies and authStrategies option ([#1308](https://github.com/feathersjs/feathers/issues/1308)) ([afa4d55](https://github.com/feathersjs/feathers/commit/afa4d55))
|
|
410
|
+
- Rename jwtStrategies option to authStrategies ([#1305](https://github.com/feathersjs/feathers/issues/1305)) ([4aee151](https://github.com/feathersjs/feathers/commit/4aee151))
|
|
420
411
|
|
|
421
412
|
### Features
|
|
422
413
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
414
|
+
- Change and *JWT methods to *accessToken ([#1304](https://github.com/feathersjs/feathers/issues/1304)) ([5ac826b](https://github.com/feathersjs/feathers/commit/5ac826b))
|
|
428
415
|
|
|
429
416
|
# [4.0.0-pre.0](https://github.com/feathersjs/feathers/compare/v3.2.0-pre.1...v4.0.0-pre.0) (2019-04-21)
|
|
430
417
|
|
|
431
|
-
|
|
432
418
|
### Features
|
|
433
419
|
|
|
434
|
-
|
|
420
|
+
- @feathersjs/authentication-oauth ([#1299](https://github.com/feathersjs/feathers/issues/1299)) ([656bae7](https://github.com/feathersjs/feathers/commit/656bae7))
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @feathersjs/authentication-oauth
|
|
2
2
|
|
|
3
3
|
[](https://github.com/feathersjs/feathers/actions?query=workflow%3ACI)
|
|
4
|
-
[](https://david-dm.org/feathersjs/feathers?path=packages/authentication-oauth)
|
|
5
4
|
[](https://www.npmjs.com/package/@feathersjs/authentication-oauth)
|
|
5
|
+
[](https://discord.gg/qa8kez8QBx)
|
|
6
6
|
|
|
7
7
|
> OAuth 1 and 2 authentication for Feathers. Powered by Grant.
|
|
8
8
|
|
|
@@ -18,6 +18,6 @@ Refer to the [Feathers oAuth authentication API documentation](https://docs.feat
|
|
|
18
18
|
|
|
19
19
|
## License
|
|
20
20
|
|
|
21
|
-
Copyright (c)
|
|
21
|
+
Copyright (c) 2023 [Feathers contributors](https://github.com/feathersjs/feathers/graphs/contributors)
|
|
22
22
|
|
|
23
23
|
Licensed under the [MIT license](LICENSE).
|