auth0 5.6.0 → 5.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.shiprc +7 -0
- data/CHANGELOG.md +70 -32
- data/lib/auth0/api/v2/grants.rb +2 -2
- data/lib/auth0/version.rb +1 -1
- data/spec/lib/auth0/api/v2/grants_spec.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d57247dc3db711110d8be1372f9679bdf5124e271ed9648c0a8f657c38daa76
|
4
|
+
data.tar.gz: 81946438f3e11d42d628ed9da89a446ee72f3b10ee638cf058804b9bce35948b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 057f873c48f31661967dcb8c9ec62ec275f0f5feef9777e1c88bb6e0fa16263522e4049e1c23d91f528c5f30d5c0404266ea21276e6bcdf3b716d70bbdf71f9d
|
7
|
+
data.tar.gz: ab73c8c4d3691f11d1f426c175f3de2f163ca241db2461300e66c90028ad5c01c8dd4e7b46a50e9e12f28649f667597a5cac386bbad0a396dd469617a639f1d5
|
data/.shiprc
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
#
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [v5.6.1](https://github.com/auth0/ruby-auth0/tree/v5.6.1) (2021-09-14)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.6.0..v5.6.1)
|
6
|
+
|
7
|
+
**Fixed**
|
8
|
+
|
9
|
+
- Fix `delete_grant` API call [\#304](https://github.com/auth0/ruby-auth0/pull/304) ([danimal141](https://github.com/danimal141))
|
2
10
|
|
3
11
|
## [v5.6.0](https://github.com/auth0/ruby-auth0/tree/v5.6.0) (2021-09-14)
|
4
12
|
|
@@ -6,7 +14,7 @@
|
|
6
14
|
|
7
15
|
**Added**
|
8
16
|
|
9
|
-
- New Actions endpoints
|
17
|
+
- New Actions endpoints CH: Added review:medium. [\#293](https://github.com/auth0/ruby-auth0/pull/293) ([davidpatrick](https://github.com/davidpatrick))
|
10
18
|
|
11
19
|
- Updates rest-client to 2.1. [\#296](https://github.com/auth0/ruby-auth0/pull/296) ([davidpatrick](https://github.com/davidpatrick))
|
12
20
|
|
@@ -80,14 +88,13 @@
|
|
80
88
|
|
81
89
|
- Fixes create_organizations_enabled_connection [\#269](https://github.com/auth0/ruby-auth0/pull/269) ([davidpatrick](https://github.com/apps/davidpatrick))
|
82
90
|
|
83
|
-
|
84
91
|
## [v5.1.0](https://github.com/auth0/ruby-auth0/tree/v5.1.0) (2021-04-09)
|
85
92
|
|
86
93
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.0.1..v5.1.0)
|
87
94
|
|
88
95
|
**Added**
|
89
96
|
|
90
|
-
- Org idtoken validation guidance
|
97
|
+
- Org idtoken validation guidance [\#267](https://github.com/auth0/ruby-auth0/pull/267) ([davidpatrick](https://github.com/davidpatrick))
|
91
98
|
- Adds Branding endpoints [\#266](https://github.com/auth0/ruby-auth0/pull/266) ([davidpatrick](https://github.com/davidpatrick))
|
92
99
|
- Organizations feature [\#264](https://github.com/auth0/ruby-auth0/pull/264) ([davidpatrick](https://github.com/davidpatrick))
|
93
100
|
- Add Organizations support to Authentication API Client [\#263](https://github.com/auth0/ruby-auth0/pull/263) ([davidpatrick](https://github.com/davidpatrick))
|
@@ -112,35 +119,43 @@
|
|
112
119
|
|
113
120
|
## [v5.0.0](https://github.com/auth0/ruby-auth0/tree/v5.0.0) (2020-10-22)
|
114
121
|
|
115
|
-
This release addresses some long standing issues with the library that could only be addressed in a major.
|
122
|
+
This release addresses some long standing issues with the library that could only be addressed in a major. We have also removed Api/v1 endpoints and other deprecated methods.
|
116
123
|
|
117
124
|
### Migration from v4 to v5
|
118
125
|
|
119
126
|
#### Top Level Structs
|
127
|
+
|
120
128
|
The following top level structs were colliding with other libraries, this was addressed in [\#183](183) and have been namespaced with `::Auth0::`
|
129
|
+
|
121
130
|
- `ApiToken` changed to `::Auth0::ApiToken`
|
122
131
|
- `Permission` changed to `::Auth0::Permission`
|
123
132
|
- `AccessToken` changed to `::AccessToken::AccessToken`
|
124
133
|
|
125
134
|
#### Api2 Users create_user method
|
135
|
+
|
126
136
|
This method was requiring you send in a `name`, which was optional, but didn't require `connection_name` which isn't optional. This was fixed in [\#244](244).
|
127
137
|
|
128
138
|
`Auth0::Api::V2::Users.create_user(name, options = {})` has changed to `Auth0::Api::V2::Users.create_user(connection_name, options = {})`
|
129
139
|
|
130
140
|
#### APIv1 End of Life
|
131
|
-
|
141
|
+
|
142
|
+
APIv1 endpoints were deprecated in 4.x and now have been removed in v5. They reached end-of-life in the Public Cloud on 13 July 2020. Migration from v1 to v2 has been documented here https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-management-api-v2
|
132
143
|
|
133
144
|
#### Catching 429 Errors
|
134
|
-
|
145
|
+
|
146
|
+
In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order for backwards compatibility. This class is now inheriting `Auth0::HTTPError`. If you are catching 429 errors with `Auth0::Unsupported` then you will need to migrate to catching with `Auth0::HTTPError`.
|
135
147
|
|
136
148
|
### Changes
|
149
|
+
|
137
150
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.17.1...v5.0.0)
|
138
151
|
|
139
|
-
**Fixed**
|
152
|
+
**Fixed**
|
153
|
+
|
140
154
|
- Don't define structs as top-level constants (breaking changes) [\#183](https://github.com/auth0/ruby-auth0/pull/183) ([makimoto](https://github.com/makimoto))
|
141
155
|
- Fix create_user implementation (breaking changes) [\#244](https://github.com/auth0/ruby-auth0/pull/244) ([davidpatrick](https://github.com/davidpatrick))
|
142
156
|
|
143
157
|
**Removed**
|
158
|
+
|
144
159
|
- Removed Deprecations (breaking changes) [\#245](https://github.com/auth0/ruby-auth0/pull/245) ([davidpatrick](https://github.com/davidpatrick))
|
145
160
|
|
146
161
|
## [v4.17.1](https://github.com/auth0/ruby-auth0/tree/v4.17.1) (2020-10-21)
|
@@ -149,8 +164,7 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
149
164
|
|
150
165
|
**Fixed**
|
151
166
|
|
152
|
-
- Addressable dependency
|
153
|
-
|
167
|
+
- Addressable dependency [\#247](https://github.com/auth0/ruby-auth0/pull/247) ([davidpatrick](https://github.com/davidpatrick))
|
154
168
|
|
155
169
|
## [v4.17.0](https://github.com/auth0/ruby-auth0/tree/v4.17.0) (2020-10-19)
|
156
170
|
|
@@ -158,12 +172,11 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
158
172
|
|
159
173
|
**Added**
|
160
174
|
|
161
|
-
- Add pagination to user permissions
|
175
|
+
- Add pagination to user permissions [\#241](https://github.com/auth0/ruby-auth0/pull/241) ([davidpatrick](https://github.com/davidpatrick))
|
162
176
|
|
163
177
|
**Deprecated**
|
164
178
|
|
165
|
-
- Addressable URI Escape
|
166
|
-
|
179
|
+
- Addressable URI Escape [\#240](https://github.com/auth0/ruby-auth0/pull/240) ([davidpatrick](https://github.com/apps/davidpatrick))
|
167
180
|
|
168
181
|
## [v4.16.0](https://github.com/auth0/ruby-auth0/tree/v4.16.0) (2020-10-02)
|
169
182
|
|
@@ -238,8 +251,8 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
238
251
|
|
239
252
|
**Added**
|
240
253
|
|
241
|
-
- Added support for
|
242
|
-
- Pass
|
254
|
+
- Added support for name_filter parameter \[SDK-1607\] [\#214](https://github.com/auth0/ruby-auth0/pull/214) ([Widcket](https://github.com/Widcket))
|
255
|
+
- Pass client_id, audience at Auth0::Api::V2::ClientGrants\#client_grants [\#209](https://github.com/auth0/ruby-auth0/pull/209) ([hkdnet](https://github.com/hkdnet))
|
243
256
|
- Add rubocop-rails [\#200](https://github.com/auth0/ruby-auth0/pull/200) ([tknzk](https://github.com/tknzk))
|
244
257
|
|
245
258
|
**Security**
|
@@ -249,8 +262,8 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
249
262
|
- Update dependencies and CI script [\#210](https://github.com/auth0/ruby-auth0/pull/210) ([lbalmaceda](https://github.com/lbalmaceda))
|
250
263
|
|
251
264
|
## [v4.9.0](https://github.com/auth0/ruby-auth0/tree/v4.9.0) (2019-09-25)
|
252
|
-
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.8.0...v4.9.0)
|
253
265
|
|
266
|
+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.8.0...v4.9.0)
|
254
267
|
|
255
268
|
**Closed issues:**
|
256
269
|
|
@@ -268,12 +281,15 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
268
281
|
- Add Management API Guardian enrollments endpoint [\#182](https://github.com/auth0/ruby-auth0/pull/182) ([tomgi](https://github.com/tomgi))
|
269
282
|
|
270
283
|
## [v4.8.0](https://github.com/auth0/ruby-auth0/tree/v4.8.0) (2019-08-01)
|
284
|
+
|
271
285
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.7.0...v4.8.0)
|
272
286
|
|
273
287
|
**Closed issues**
|
288
|
+
|
274
289
|
- Not enough information in exception when Rate Limiting is encountered [\#158](https://github.com/auth0/ruby-auth0/issues/158)
|
275
290
|
|
276
291
|
**Added**
|
292
|
+
|
277
293
|
- Add Management API Anomaly endpoints [\#179](https://github.com/auth0/ruby-auth0/pull/179) ([makoto-matsumoto](https://github.com/makoto-matsumoto))
|
278
294
|
- Add parameters for users imports [\#177](https://github.com/auth0/ruby-auth0/pull/177) ([makoto-matsumoto](https://github.com/makoto-matsumoto))
|
279
295
|
- Add failed job error details endpoint [\#176](https://github.com/auth0/ruby-auth0/pull/176) ([makoto-matsumoto](https://github.com/makoto-matsumoto))
|
@@ -283,34 +299,43 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
283
299
|
- Add Gemfile.lock file [\#165](https://github.com/auth0/ruby-auth0/pull/165) ([lbalmaceda](https://github.com/lbalmaceda))
|
284
300
|
|
285
301
|
**Changed**
|
302
|
+
|
286
303
|
- Add Roles and Users endpoints integration tests [\#174](https://github.com/auth0/ruby-auth0/pull/174) ([joshcanhelp](https://github.com/joshcanhelp))
|
287
304
|
|
288
305
|
**Deprecated**
|
306
|
+
|
289
307
|
- Deprecate Auth0::Api::V2::Users.delete_users [\#181](https://github.com/auth0/ruby-auth0/pull/181) ([joshcanhelp](https://github.com/joshcanhelp))
|
290
308
|
|
291
309
|
**Removed**
|
310
|
+
|
292
311
|
- Gemspec: Drop EOL'd property rubyforge_project [\#180](https://github.com/auth0/ruby-auth0/pull/180) ([olleolleolle](https://github.com/olleolleolle))
|
293
312
|
|
294
313
|
**Security**
|
314
|
+
|
295
315
|
- Fix Yard dependency vulnerability [\#184](https://github.com/auth0/ruby-auth0/pull/184) ([joshcanhelp](https://github.com/joshcanhelp))
|
296
316
|
|
297
317
|
## [v4.7.0](https://github.com/auth0/ruby-auth0/tree/v4.7.0) (2019-03-19)
|
318
|
+
|
298
319
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.6.0...v4.7.0)
|
299
320
|
|
300
321
|
**Closed issues**
|
322
|
+
|
301
323
|
- No method to update/patch resource servers [\#156](https://github.com/auth0/ruby-auth0/issues/156)
|
302
324
|
- No method to get all resource servers [\#154](https://github.com/auth0/ruby-auth0/issues/154)
|
303
325
|
|
304
326
|
**Added**
|
327
|
+
|
305
328
|
- Add Client ID to send_verification_email [\#162](https://github.com/auth0/ruby-auth0/pull/162) ([joshcanhelp](https://github.com/joshcanhelp))
|
306
329
|
- More password change params [\#159](https://github.com/auth0/ruby-auth0/pull/159) ([nhusher](https://github.com/nhusher))
|
307
330
|
- Add patch resource server [\#157](https://github.com/auth0/ruby-auth0/pull/157) ([philomory](https://github.com/philomory))
|
308
331
|
- Get all resource servers [\#155](https://github.com/auth0/ruby-auth0/pull/155) ([philomory](https://github.com/philomory))
|
309
332
|
|
310
333
|
## [v4.6.0](https://github.com/auth0/ruby-auth0/tree/v4.6.0) (2018-12-17)
|
334
|
+
|
311
335
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.5.0...v4.6.0)
|
312
336
|
|
313
337
|
**Closed issues**
|
338
|
+
|
314
339
|
- New Release with Client Token work [\#148](https://github.com/auth0/ruby-auth0/issues/148)
|
315
340
|
- Unable to initialize Auth0Api [\#147](https://github.com/auth0/ruby-auth0/issues/147)
|
316
341
|
- Issues building the documentation [\#135](https://github.com/auth0/ruby-auth0/issues/135)
|
@@ -321,6 +346,7 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
321
346
|
- Obtain APIv2 Token [\#86](https://github.com/auth0/ruby-auth0/issues/86)
|
322
347
|
|
323
348
|
**Added**
|
349
|
+
|
324
350
|
- Add refresh token method and unit tests [\#150](https://github.com/auth0/ruby-auth0/pull/150) ([joshcanhelp](https://github.com/joshcanhelp))
|
325
351
|
- Improve telemetry; more modular Auth API [\#149](https://github.com/auth0/ruby-auth0/pull/149) ([joshcanhelp](https://github.com/joshcanhelp))
|
326
352
|
- Add ttl_sec argument to post_email_verification request. [\#145](https://github.com/auth0/ruby-auth0/pull/145) ([digitaldawn](https://github.com/digitaldawn))
|
@@ -332,52 +358,57 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
332
358
|
- Add Client Credentials grant [\#129](https://github.com/auth0/ruby-auth0/pull/129) ([joshcanhelp](https://github.com/joshcanhelp))
|
333
359
|
|
334
360
|
**Changed**
|
361
|
+
|
335
362
|
- Improve the test suite [\#143](https://github.com/auth0/ruby-auth0/pull/143) ([joshcanhelp](https://github.com/joshcanhelp))
|
336
363
|
|
337
364
|
**Deprecated**
|
365
|
+
|
338
366
|
- Formal deprecation of 4 auth endpoint methods; rubocop [\#151](https://github.com/auth0/ruby-auth0/pull/151) ([joshcanhelp](https://github.com/joshcanhelp))
|
339
367
|
|
340
368
|
**Fixed**
|
369
|
+
|
341
370
|
- Documentation improvements [\#139](https://github.com/auth0/ruby-auth0/pull/139) ([szemek](https://github.com/szemek))
|
342
371
|
- Fix typos in README.md [\#137](https://github.com/auth0/ruby-auth0/pull/137) ([swetax](https://github.com/swetax))
|
343
372
|
- Explicitly require JSON dependency [\#126](https://github.com/auth0/ruby-auth0/pull/126) ([jgaskins](https://github.com/jgaskins))
|
344
373
|
|
345
|
-
|
346
374
|
## [v4.5.0](https://github.com/auth0/ruby-auth0/tree/v4.5.0) (2018-07-27)
|
375
|
+
|
347
376
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.4.0...v4.5.0)
|
348
377
|
|
349
378
|
**Closed issues:**
|
350
379
|
|
351
380
|
- New version with updated rest-client dependency [\#93](https://github.com/auth0/ruby-auth0/issues/93)
|
352
381
|
- Bug?: `result` from auth0/mixins/httpproxy.rb returns 'nil' [\#88](https://github.com/auth0/ruby-auth0/issues/88)
|
353
|
-
-
|
382
|
+
- import_users fails with EOFError [\#56](https://github.com/auth0/ruby-auth0/issues/56)
|
354
383
|
- Using inside of a Rails API [\#55](https://github.com/auth0/ruby-auth0/issues/55)
|
355
384
|
- Add documentation? [\#102](https://github.com/auth0/ruby-auth0/issues/102)
|
356
|
-
-
|
385
|
+
- logout_url does not include client_id parameter [\#81](https://github.com/auth0/ruby-auth0/issues/81)
|
357
386
|
|
358
387
|
**Merged pull requests:**
|
359
388
|
|
360
|
-
- Correctly default
|
389
|
+
- Correctly default grant_type to 'password' in login method [\#107](https://github.com/auth0/ruby-auth0/pull/107) ([psparrow](https://github.com/psparrow))
|
361
390
|
- Add additional parameters for WS-Fed URL [\#123](https://github.com/auth0/ruby-auth0/pull/123) ([joshcanhelp](https://github.com/joshcanhelp))
|
362
391
|
- Deprecate Authentication API endpoints [\#121](https://github.com/auth0/ruby-auth0/pull/121) ([joshcanhelp](https://github.com/joshcanhelp))
|
363
392
|
- Clean up auth endpoint tests [\#120](https://github.com/auth0/ruby-auth0/pull/120) ([joshcanhelp](https://github.com/joshcanhelp))
|
364
393
|
- Fix docblocks for Authentication API endpoints [\#119](https://github.com/auth0/ruby-auth0/pull/119) ([joshcanhelp](https://github.com/joshcanhelp))
|
365
|
-
- Add Client ID to
|
394
|
+
- Add Client ID to logout_url [\#118](https://github.com/auth0/ruby-auth0/pull/118) ([joshcanhelp](https://github.com/joshcanhelp))
|
366
395
|
- Add pagination and tests for Rules endpoint [\#117](https://github.com/auth0/ruby-auth0/pull/117) ([joshcanhelp](https://github.com/joshcanhelp))
|
367
396
|
- Add pagination and tests for Client Grants [\#116](https://github.com/auth0/ruby-auth0/pull/116) ([joshcanhelp](https://github.com/joshcanhelp))
|
368
|
-
- Add
|
397
|
+
- Add search_engine parameter to Users endpoint + tests [\#115](https://github.com/auth0/ruby-auth0/pull/115) ([joshcanhelp](https://github.com/joshcanhelp))
|
369
398
|
- Improve README [\#114](https://github.com/auth0/ruby-auth0/pull/114) ([joshcanhelp](https://github.com/joshcanhelp))
|
370
399
|
- Add pagination and tests to Clients and Connections endpoints [\#113](https://github.com/auth0/ruby-auth0/pull/113) ([joshcanhelp](https://github.com/joshcanhelp))
|
371
400
|
- Use Secure RubyGems Source [\#112](https://github.com/auth0/ruby-auth0/pull/112) ([markprovan](https://github.com/markprovan))
|
372
401
|
|
373
402
|
## [v4.4.0](https://github.com/auth0/ruby-auth0/tree/v4.4.0) (2018-02-19)
|
403
|
+
|
374
404
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.3.0...v4.4.0)
|
375
405
|
|
376
406
|
**Closed issues:**
|
377
407
|
|
378
|
-
- Authentication Login is using `/oauth/ro`.
|
408
|
+
- Authentication Login is using `/oauth/ro`. [\#89](https://github.com/auth0/ruby-auth0/issues/89)
|
379
409
|
|
380
410
|
## [v4.3.0](https://github.com/auth0/ruby-auth0/tree/v4.3.0) (2018-02-19)
|
411
|
+
|
381
412
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.2.0...v4.3.0)
|
382
413
|
|
383
414
|
**Merged pull requests:**
|
@@ -388,12 +419,13 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
388
419
|
- Fix error in the readme regarding timeouts [\#90](https://github.com/auth0/ruby-auth0/pull/90) ([ksamc](https://github.com/ksamc))
|
389
420
|
|
390
421
|
## [v4.2.0](https://github.com/auth0/ruby-auth0/tree/v4.2.0) (2018-02-15)
|
422
|
+
|
391
423
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.1.0...v4.2.0)
|
392
424
|
|
393
425
|
**Closed issues:**
|
394
426
|
|
395
427
|
- Vulnerable dependency: yard [\#99](https://github.com/auth0/ruby-auth0/issues/99)
|
396
|
-
-
|
428
|
+
- post_password_change results in payload validation error [\#84](https://github.com/auth0/ruby-auth0/issues/84)
|
397
429
|
- Unsupported on latest ruby version \(2.4.0\) [\#83](https://github.com/auth0/ruby-auth0/issues/83)
|
398
430
|
- Adding a resource server breaks authentication. [\#76](https://github.com/auth0/ruby-auth0/issues/76)
|
399
431
|
- outdated dependencies in ror-api example [\#75](https://github.com/auth0/ruby-auth0/issues/75)
|
@@ -415,14 +447,15 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
415
447
|
- updated dependencies in ror api example. Fix \#75 [\#77](https://github.com/auth0/ruby-auth0/pull/77) ([Amialc](https://github.com/Amialc))
|
416
448
|
- Add a badge to documentation [\#74](https://github.com/auth0/ruby-auth0/pull/74) ([amingilani](https://github.com/amingilani))
|
417
449
|
- Typo [\#73](https://github.com/auth0/ruby-auth0/pull/73) ([amingilani](https://github.com/amingilani))
|
418
|
-
- Add how to generate documentation to the README.md +
|
450
|
+
- Add how to generate documentation to the README.md + patch_user [\#72](https://github.com/auth0/ruby-auth0/pull/72) ([ignaciojonas](https://github.com/ignaciojonas))
|
419
451
|
|
420
452
|
## [v4.1.0](https://github.com/auth0/ruby-auth0/tree/v4.1.0) (2016-07-25)
|
453
|
+
|
421
454
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.0.0...v4.1.0)
|
422
455
|
|
423
456
|
**Closed issues:**
|
424
457
|
|
425
|
-
- \#
|
458
|
+
- \#post_password_change requires a password for ticket. [\#69](https://github.com/auth0/ruby-auth0/issues/69)
|
426
459
|
- Exception messages are ruby hash string literals [\#63](https://github.com/auth0/ruby-auth0/issues/63)
|
427
460
|
- Ruby on Rails API issue [\#61](https://github.com/auth0/ruby-auth0/issues/61)
|
428
461
|
- Not possible to have V1 and V2 clients at the same time [\#60](https://github.com/auth0/ruby-auth0/issues/60)
|
@@ -438,6 +471,7 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
438
471
|
- Add api v2 log endpoints to the gem [\#59](https://github.com/auth0/ruby-auth0/pull/59) ([LindseyB](https://github.com/LindseyB))
|
439
472
|
|
440
473
|
## [v4.0.0](https://github.com/auth0/ruby-auth0/tree/v4.0.0) (2016-02-12)
|
474
|
+
|
441
475
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.6.1...v4.0.0)
|
442
476
|
|
443
477
|
**Closed issues:**
|
@@ -458,6 +492,7 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
458
492
|
- Remove semi-colons in README [\#37](https://github.com/auth0/ruby-auth0/pull/37) ([l4u](https://github.com/l4u))
|
459
493
|
|
460
494
|
## [v3.6.1](https://github.com/auth0/ruby-auth0/tree/v3.6.1) (2015-07-09)
|
495
|
+
|
461
496
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.6.0...v3.6.1)
|
462
497
|
|
463
498
|
**Merged pull requests:**
|
@@ -466,15 +501,17 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
466
501
|
- email validation is broken by \_, which breaks the tests [\#35](https://github.com/auth0/ruby-auth0/pull/35) ([taylorfinnell](https://github.com/taylorfinnell))
|
467
502
|
|
468
503
|
## [v3.6.0](https://github.com/auth0/ruby-auth0/tree/v3.6.0) (2015-06-01)
|
504
|
+
|
469
505
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.5.0...v3.6.0)
|
470
506
|
|
471
507
|
**Merged pull requests:**
|
472
508
|
|
473
|
-
- Remove
|
509
|
+
- Remove exclude_fields parameter for getting users [\#34](https://github.com/auth0/ruby-auth0/pull/34) ([hzalaz](https://github.com/hzalaz))
|
474
510
|
- Add connections [\#33](https://github.com/auth0/ruby-auth0/pull/33) ([taylorfinnell](https://github.com/taylorfinnell))
|
475
511
|
- Use client header spec as per documentation [\#32](https://github.com/auth0/ruby-auth0/pull/32) ([benschwarz](https://github.com/benschwarz))
|
476
512
|
|
477
513
|
## [v3.5.0](https://github.com/auth0/ruby-auth0/tree/v3.5.0) (2015-05-21)
|
514
|
+
|
478
515
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.4.0...v3.5.0)
|
479
516
|
|
480
517
|
**Merged pull requests:**
|
@@ -482,6 +519,7 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
482
519
|
- Client information headers [\#31](https://github.com/auth0/ruby-auth0/pull/31) ([benschwarz](https://github.com/benschwarz))
|
483
520
|
|
484
521
|
## [v3.4.0](https://github.com/auth0/ruby-auth0/tree/v3.4.0) (2015-05-07)
|
522
|
+
|
485
523
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.3.0...v3.4.0)
|
486
524
|
|
487
525
|
**Closed issues:**
|
@@ -495,6 +533,7 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
495
533
|
- Fix broken link in README [\#28](https://github.com/auth0/ruby-auth0/pull/28) ([dentarg](https://github.com/dentarg))
|
496
534
|
|
497
535
|
## [v3.3.0](https://github.com/auth0/ruby-auth0/tree/v3.3.0) (2015-04-15)
|
536
|
+
|
498
537
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.2.0...v3.3.0)
|
499
538
|
|
500
539
|
**Closed issues:**
|
@@ -510,15 +549,16 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
510
549
|
- allow to pass extra parameters to delegation method [\#23](https://github.com/auth0/ruby-auth0/pull/23) ([Maxim-Filimonov](https://github.com/Maxim-Filimonov))
|
511
550
|
|
512
551
|
## [v3.2.0](https://github.com/auth0/ruby-auth0/tree/v3.2.0) (2015-04-14)
|
552
|
+
|
513
553
|
**Merged pull requests:**
|
514
554
|
|
515
555
|
- Impersonation [\#26](https://github.com/auth0/ruby-auth0/pull/26) ([dentarg](https://github.com/dentarg))
|
516
|
-
- Allow to set
|
556
|
+
- Allow to set api_type to use with salesforce_api [\#25](https://github.com/auth0/ruby-auth0/pull/25) ([Maxim-Filimonov](https://github.com/Maxim-Filimonov))
|
517
557
|
- Fixed few issues from issues list [\#22](https://github.com/auth0/ruby-auth0/pull/22) ([offtop](https://github.com/offtop))
|
518
558
|
- Update readme.md api v2 basic usage example [\#19](https://github.com/auth0/ruby-auth0/pull/19) ([ethancrawford](https://github.com/ethancrawford))
|
519
559
|
- fix token initialization to prevent nil token value [\#18](https://github.com/auth0/ruby-auth0/pull/18) ([ethancrawford](https://github.com/ethancrawford))
|
520
560
|
- Make the client work for API v1 [\#13](https://github.com/auth0/ruby-auth0/pull/13) ([dentarg](https://github.com/dentarg))
|
521
|
-
- Fix typo delegation signature;
|
561
|
+
- Fix typo delegation signature; open_id =\> openid [\#12](https://github.com/auth0/ruby-auth0/pull/12) ([dentarg](https://github.com/dentarg))
|
522
562
|
- Make the tests run on Travis CI [\#11](https://github.com/auth0/ruby-auth0/pull/11) ([dentarg](https://github.com/dentarg))
|
523
563
|
- Added support for API V1 and API V2 [\#9](https://github.com/auth0/ruby-auth0/pull/9) ([offtop](https://github.com/offtop))
|
524
564
|
- Update README.md [\#8](https://github.com/auth0/ruby-auth0/pull/8) ([pose](https://github.com/pose))
|
@@ -527,6 +567,4 @@ In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order
|
|
527
567
|
- Fix rspec deprecation warning [\#2](https://github.com/auth0/ruby-auth0/pull/2) ([dentarg](https://github.com/dentarg))
|
528
568
|
- Add method to access delegation endpoint [\#1](https://github.com/auth0/ruby-auth0/pull/1) ([FrancisPlaza](https://github.com/FrancisPlaza))
|
529
569
|
|
530
|
-
|
531
|
-
|
532
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
570
|
+
\* _This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)_
|
data/lib/auth0/api/v2/grants.rb
CHANGED
@@ -33,8 +33,8 @@ module Auth0
|
|
33
33
|
def delete_grant(id, user_id)
|
34
34
|
raise Auth0::InvalidParameter, 'Must specify a grant id as id' if id.to_s.empty?
|
35
35
|
raise Auth0::InvalidParameter, 'Must specify a user id' if user_id.to_s.empty?
|
36
|
-
path = "#{grants_path}/#{id}
|
37
|
-
delete(path)
|
36
|
+
path = "#{grants_path}/#{id}"
|
37
|
+
delete(path, user_id: user_id)
|
38
38
|
end
|
39
39
|
|
40
40
|
private
|
data/lib/auth0/version.rb
CHANGED
@@ -81,7 +81,7 @@ describe Auth0::Api::V2::Grants do
|
|
81
81
|
context '.delete_grant' do
|
82
82
|
it { expect(@instance).to respond_to(:delete_grant) }
|
83
83
|
it 'is expected to send delete to /api/v2/grants/1?user_id=1' do
|
84
|
-
expect(@instance).to receive(:delete).with('/api/v2/grants/1
|
84
|
+
expect(@instance).to receive(:delete).with('/api/v2/grants/1', user_id: '1')
|
85
85
|
expect { @instance.delete_grant('1', '1') }.not_to raise_error
|
86
86
|
end
|
87
87
|
it { expect { @instance.delete_grant('', '') }.to raise_error 'Must specify a grant id as id' }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auth0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.6.
|
4
|
+
version: 5.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Auth0
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-
|
14
|
+
date: 2021-11-09 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rest-client
|
@@ -286,6 +286,7 @@ files:
|
|
286
286
|
- ".rspec"
|
287
287
|
- ".rubocop.yml"
|
288
288
|
- ".rubocop_todo.yml"
|
289
|
+
- ".shiprc"
|
289
290
|
- CHANGELOG.md
|
290
291
|
- CODE_OF_CONDUCT.md
|
291
292
|
- DEPLOYMENT.md
|