@feathersjs/authentication-oauth 5.0.0-pre.9 → 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 +148 -186
- 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,456 +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.
|
|
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)
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
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))
|
|
17
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)
|
|
18
26
|
|
|
27
|
+
### Features
|
|
19
28
|
|
|
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))
|
|
20
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)
|
|
21
32
|
|
|
22
|
-
|
|
33
|
+
### Bug Fixes
|
|
23
34
|
|
|
24
|
-
**
|
|
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))
|
|
25
36
|
|
|
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)
|
|
26
38
|
|
|
39
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
27
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)
|
|
28
42
|
|
|
43
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
29
44
|
|
|
30
|
-
# [5.0.0-pre.
|
|
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)
|
|
31
46
|
|
|
32
47
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
33
48
|
|
|
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)
|
|
34
50
|
|
|
51
|
+
### Bug Fixes
|
|
35
52
|
|
|
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))
|
|
36
54
|
|
|
55
|
+
### Features
|
|
37
56
|
|
|
38
|
-
|
|
57
|
+
- **core:** Allow to unregister services at runtime ([#2756](https://github.com/feathersjs/feathers/issues/2756)) ([d16601f](https://github.com/feathersjs/feathers/commit/d16601f2277dca5357866ffdefba2a611f6dc7fa))
|
|
39
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)
|
|
40
60
|
|
|
41
61
|
### Bug Fixes
|
|
42
62
|
|
|
43
|
-
|
|
44
|
-
* **koa:** Use extended query parser for compatibility ([#2397](https://github.com/feathersjs/feathers/issues/2397)) ([b2944ba](https://github.com/feathersjs/feathers/commit/b2944bac3ec6d5ecc80dc518cd4e58093692db74))
|
|
45
|
-
|
|
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))
|
|
46
64
|
|
|
47
65
|
### Features
|
|
48
66
|
|
|
49
|
-
|
|
50
|
-
|
|
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))
|
|
51
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)
|
|
52
71
|
|
|
72
|
+
### Bug Fixes
|
|
53
73
|
|
|
74
|
+
- **cli:** Improve generated application and client ([#2701](https://github.com/feathersjs/feathers/issues/2701)) ([bd55ffb](https://github.com/feathersjs/feathers/commit/bd55ffb812e89bf215f4515e7f137656ea888c3f))
|
|
54
75
|
|
|
55
|
-
# [5.0.0-pre.
|
|
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)
|
|
56
77
|
|
|
57
78
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
58
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)
|
|
59
81
|
|
|
82
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
60
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)
|
|
61
85
|
|
|
86
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
62
87
|
|
|
63
|
-
# [5.0.0-pre.
|
|
64
|
-
|
|
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)
|
|
65
89
|
|
|
66
90
|
### Bug Fixes
|
|
67
91
|
|
|
68
|
-
|
|
69
|
-
|
|
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))
|
|
70
93
|
|
|
71
94
|
### Features
|
|
72
95
|
|
|
73
|
-
|
|
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))
|
|
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)
|
|
74
99
|
|
|
100
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
75
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)
|
|
76
103
|
|
|
104
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
77
105
|
|
|
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)
|
|
78
107
|
|
|
79
|
-
|
|
108
|
+
### Bug Fixes
|
|
80
109
|
|
|
81
|
-
**
|
|
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))
|
|
82
111
|
|
|
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)
|
|
83
113
|
|
|
114
|
+
### Bug Fixes
|
|
84
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))
|
|
85
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)
|
|
86
120
|
|
|
87
|
-
|
|
121
|
+
### Bug Fixes
|
|
88
122
|
|
|
89
|
-
**
|
|
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))
|
|
90
125
|
|
|
126
|
+
### Features
|
|
91
127
|
|
|
128
|
+
- **typescript:** Improve params and query typeability ([#2600](https://github.com/feathersjs/feathers/issues/2600)) ([df28b76](https://github.com/feathersjs/feathers/commit/df28b7619161f1df5e700326f52cca1a92dc5d28))
|
|
92
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)
|
|
93
131
|
|
|
132
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
94
133
|
|
|
95
|
-
# [5.0.0-
|
|
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)
|
|
135
|
+
|
|
136
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
96
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)
|
|
97
139
|
|
|
98
140
|
### Bug Fixes
|
|
99
141
|
|
|
100
|
-
|
|
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))
|
|
101
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)
|
|
102
145
|
|
|
103
146
|
### Features
|
|
104
147
|
|
|
105
|
-
|
|
106
|
-
|
|
148
|
+
- **authentication-oauth:** Allow dynamic oAuth redirect ([#2469](https://github.com/feathersjs/feathers/issues/2469)) ([b7143d4](https://github.com/feathersjs/feathers/commit/b7143d4c0fbe961e714f79512be04449b9bbd7d9))
|
|
107
149
|
|
|
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)
|
|
108
151
|
|
|
152
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
109
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)
|
|
110
155
|
|
|
111
|
-
|
|
156
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
112
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)
|
|
113
159
|
|
|
160
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
114
161
|
|
|
115
|
-
# [5.0.0-pre.
|
|
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)
|
|
116
163
|
|
|
117
164
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
118
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)
|
|
119
167
|
|
|
168
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
120
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)
|
|
121
171
|
|
|
172
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
122
173
|
|
|
123
|
-
# [5.0.0-pre.
|
|
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)
|
|
124
175
|
|
|
125
176
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
126
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)
|
|
127
179
|
|
|
180
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
128
181
|
|
|
129
|
-
|
|
130
|
-
|
|
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)
|
|
131
183
|
|
|
132
|
-
|
|
184
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
133
185
|
|
|
134
|
-
|
|
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)
|
|
135
187
|
|
|
188
|
+
### Bug Fixes
|
|
136
189
|
|
|
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))
|
|
137
192
|
|
|
193
|
+
### Features
|
|
138
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))
|
|
139
196
|
|
|
140
|
-
|
|
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)
|
|
141
198
|
|
|
142
199
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
143
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)
|
|
144
202
|
|
|
203
|
+
### Bug Fixes
|
|
145
204
|
|
|
205
|
+
- **typescript:** Improve TypeScript backwards compatibility ([#2310](https://github.com/feathersjs/feathers/issues/2310)) ([f33be73](https://github.com/feathersjs/feathers/commit/f33be73fc46a533efb15df9aab0658e3240d3897))
|
|
146
206
|
|
|
207
|
+
### Features
|
|
147
208
|
|
|
148
|
-
|
|
209
|
+
- **dependencies:** Remove direct debug dependency ([#2296](https://github.com/feathersjs/feathers/issues/2296)) ([501d416](https://github.com/feathersjs/feathers/commit/501d4164d30c6a126906dc640cdfdc82207ba34a))
|
|
149
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)
|
|
150
212
|
|
|
151
|
-
|
|
213
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
152
214
|
|
|
153
|
-
|
|
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)
|
|
154
216
|
|
|
217
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
155
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)
|
|
156
220
|
|
|
221
|
+
### Bug Fixes
|
|
157
222
|
|
|
223
|
+
- Update Grant usage and other dependencies ([#2264](https://github.com/feathersjs/feathers/issues/2264)) ([7b0f8fa](https://github.com/feathersjs/feathers/commit/7b0f8fad252419ed0ad0bf259cdf3104d322ab60))
|
|
158
224
|
|
|
159
|
-
|
|
225
|
+
### Features
|
|
160
226
|
|
|
161
|
-
|
|
227
|
+
- Feathers v5 core refactoring and features ([#2255](https://github.com/feathersjs/feathers/issues/2255)) ([2dafb7c](https://github.com/feathersjs/feathers/commit/2dafb7ce14ba57406aeec13d10ca45b1e709bee9))
|
|
162
228
|
|
|
229
|
+
# [5.0.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.5.11...v5.0.0-pre.1) (2020-12-17)
|
|
163
230
|
|
|
231
|
+
# [5.0.0-pre.0](https://github.com/feathersjs/feathers/compare/v4.5.4...v5.0.0-pre.0) (2020-05-19)
|
|
164
232
|
|
|
233
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
165
234
|
|
|
235
|
+
# [5.0.0-pre.0](https://github.com/feathersjs/feathers/compare/v4.5.4...v5.0.0-pre.0) (2020-05-19)
|
|
166
236
|
|
|
167
|
-
|
|
237
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
168
238
|
|
|
239
|
+
## [4.5.9](https://github.com/feathersjs/feathers/compare/v4.5.8...v4.5.9) (2020-10-09)
|
|
169
240
|
|
|
170
241
|
### Bug Fixes
|
|
171
242
|
|
|
172
|
-
|
|
173
|
-
* **typescript:** add overload types for `find` service methods ([#1972](https://github.com/feathersjs/feathers/issues/1972)) ([ef55af0](https://github.com/feathersjs/feathers/commit/ef55af088d05d9d36aba9d9f8d6c2c908a4f20dd))
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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))
|
|
177
244
|
|
|
245
|
+
## [4.5.8](https://github.com/feathersjs/feathers/compare/v4.5.7...v4.5.8) (2020-08-12)
|
|
178
246
|
|
|
179
|
-
|
|
247
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
180
248
|
|
|
249
|
+
## [4.5.7](https://github.com/feathersjs/feathers/compare/v4.5.6...v4.5.7) (2020-07-24)
|
|
181
250
|
|
|
182
251
|
### Bug Fixes
|
|
183
252
|
|
|
184
|
-
|
|
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))
|
|
185
254
|
|
|
255
|
+
## [4.5.6](https://github.com/feathersjs/feathers/compare/v4.5.5...v4.5.6) (2020-07-12)
|
|
186
256
|
|
|
257
|
+
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
187
258
|
|
|
259
|
+
## [4.5.5](https://github.com/feathersjs/feathers/compare/v4.5.4...v4.5.5) (2020-07-11)
|
|
188
260
|
|
|
261
|
+
### Bug Fixes
|
|
189
262
|
|
|
190
|
-
|
|
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))
|
|
191
265
|
|
|
266
|
+
## [4.5.4](https://github.com/feathersjs/feathers/compare/v4.5.3...v4.5.4) (2020-04-29)
|
|
192
267
|
|
|
193
268
|
### Bug Fixes
|
|
194
269
|
|
|
195
|
-
|
|
196
|
-
|
|
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))
|
|
197
271
|
|
|
272
|
+
## [4.5.3](https://github.com/feathersjs/feathers/compare/v4.5.2...v4.5.3) (2020-04-17)
|
|
198
273
|
|
|
274
|
+
### Bug Fixes
|
|
199
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))
|
|
200
277
|
|
|
201
278
|
## [4.5.2](https://github.com/feathersjs/feathers/compare/v4.5.1...v4.5.2) (2020-03-04)
|
|
202
279
|
|
|
203
|
-
|
|
204
280
|
### Bug Fixes
|
|
205
281
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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))
|
|
211
283
|
|
|
212
284
|
## [4.5.1](https://github.com/feathersjs/feathers/compare/v4.5.0...v4.5.1) (2020-01-24)
|
|
213
285
|
|
|
214
286
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
215
287
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
288
|
# [4.5.0](https://github.com/feathersjs/feathers/compare/v4.4.3...v4.5.0) (2020-01-18)
|
|
221
289
|
|
|
222
|
-
|
|
223
290
|
### Features
|
|
224
291
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
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))
|
|
230
293
|
|
|
231
294
|
## [4.4.3](https://github.com/feathersjs/feathers/compare/v4.4.1...v4.4.3) (2019-12-06)
|
|
232
295
|
|
|
233
296
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
234
297
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
298
|
## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27)
|
|
240
299
|
|
|
241
300
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
242
301
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
302
|
# [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27)
|
|
248
303
|
|
|
249
|
-
|
|
250
304
|
### Features
|
|
251
305
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
306
|
+
- **authentication-oauth:** Set oAuth redirect URL dynamically ([#1608](https://github.com/feathersjs/feathers/issues/1608)) ([1293e08](https://github.com/feathersjs/feathers/commit/1293e088abbb3d23f4a44680836645a8049ceaae))
|
|
257
307
|
|
|
258
308
|
## [4.3.11](https://github.com/feathersjs/feathers/compare/v4.3.10...v4.3.11) (2019-11-11)
|
|
259
309
|
|
|
260
|
-
|
|
261
310
|
### Bug Fixes
|
|
262
311
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
312
|
+
- **authentication-oauth:** Allow hash based redirects ([#1676](https://github.com/feathersjs/feathers/issues/1676)) ([ffe7cf3](https://github.com/feathersjs/feathers/commit/ffe7cf3fbb4e62d7689065cf7b61f25f602ce8cf))
|
|
268
313
|
|
|
269
314
|
## [4.3.10](https://github.com/feathersjs/feathers/compare/v4.3.9...v4.3.10) (2019-10-26)
|
|
270
315
|
|
|
271
316
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
272
317
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
318
|
## [4.3.9](https://github.com/feathersjs/feathers/compare/v4.3.8...v4.3.9) (2019-10-26)
|
|
278
319
|
|
|
279
|
-
|
|
280
320
|
### Bug Fixes
|
|
281
321
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
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))
|
|
287
323
|
|
|
288
324
|
## [4.3.7](https://github.com/feathersjs/feathers/compare/v4.3.6...v4.3.7) (2019-10-14)
|
|
289
325
|
|
|
290
326
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
291
327
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
328
|
## [4.3.5](https://github.com/feathersjs/feathers/compare/v4.3.4...v4.3.5) (2019-10-07)
|
|
297
329
|
|
|
298
330
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
299
331
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
332
|
## [4.3.4](https://github.com/feathersjs/feathers/compare/v4.3.3...v4.3.4) (2019-10-03)
|
|
305
333
|
|
|
306
334
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
307
335
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
336
|
## [4.3.3](https://github.com/feathersjs/feathers/compare/v4.3.2...v4.3.3) (2019-09-21)
|
|
313
337
|
|
|
314
|
-
|
|
315
338
|
### Bug Fixes
|
|
316
339
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
340
|
+
- Small improvements in dependencies and code sturcture ([#1562](https://github.com/feathersjs/feathers/issues/1562)) ([42c13e2](https://github.com/feathersjs/feathers/commit/42c13e2))
|
|
322
341
|
|
|
323
342
|
## [4.3.2](https://github.com/feathersjs/feathers/compare/v4.3.1...v4.3.2) (2019-09-16)
|
|
324
343
|
|
|
325
344
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
326
345
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
346
|
## [4.3.1](https://github.com/feathersjs/feathers/compare/v4.3.0...v4.3.1) (2019-09-09)
|
|
332
347
|
|
|
333
|
-
|
|
334
348
|
### Bug Fixes
|
|
335
349
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
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))
|
|
341
351
|
|
|
342
352
|
# [4.3.0](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.4...v4.3.0) (2019-08-27)
|
|
343
353
|
|
|
344
354
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
345
355
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
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)
|
|
351
357
|
|
|
352
358
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
353
359
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
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)
|
|
359
361
|
|
|
360
|
-
|
|
361
362
|
### Bug Fixes
|
|
362
363
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
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))
|
|
369
366
|
|
|
370
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)
|
|
371
368
|
|
|
372
|
-
|
|
373
369
|
### Bug Fixes
|
|
374
370
|
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
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))
|
|
380
372
|
|
|
381
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)
|
|
382
374
|
|
|
383
375
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
384
376
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
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)
|
|
390
378
|
|
|
391
379
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
392
380
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
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)
|
|
398
382
|
|
|
399
383
|
**Note:** Version bump only for package @feathersjs/authentication-oauth
|
|
400
384
|
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
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)
|
|
406
386
|
|
|
407
|
-
|
|
408
387
|
### Bug Fixes
|
|
409
388
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
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))
|
|
416
391
|
|
|
417
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)
|
|
418
393
|
|
|
419
|
-
|
|
420
394
|
### Bug Fixes
|
|
421
395
|
|
|
422
|
-
|
|
423
|
-
|
|
396
|
+
- Correctly read the oauth strategy config ([#1349](https://github.com/feathersjs/feathers/issues/1349)) ([9abf314](https://github.com/feathersjs/feathers/commit/9abf314))
|
|
424
397
|
|
|
425
398
|
### Features
|
|
426
399
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
400
|
+
- Add global disconnect event ([#1355](https://github.com/feathersjs/feathers/issues/1355)) ([85afcca](https://github.com/feathersjs/feathers/commit/85afcca))
|
|
432
401
|
|
|
433
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)
|
|
434
403
|
|
|
435
|
-
|
|
436
404
|
### Bug Fixes
|
|
437
405
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
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))
|
|
444
411
|
|
|
445
412
|
### Features
|
|
446
413
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
414
|
+
- Change and *JWT methods to *accessToken ([#1304](https://github.com/feathersjs/feathers/issues/1304)) ([5ac826b](https://github.com/feathersjs/feathers/commit/5ac826b))
|
|
452
415
|
|
|
453
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)
|
|
454
417
|
|
|
455
|
-
|
|
456
418
|
### Features
|
|
457
419
|
|
|
458
|
-
|
|
420
|
+
- @feathersjs/authentication-oauth ([#1299](https://github.com/feathersjs/feathers/issues/1299)) ([656bae7](https://github.com/feathersjs/feathers/commit/656bae7))
|
package/LICENSE
CHANGED