auth0 5.19.0 → 5.20.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.
- checksums.yaml +4 -4
- data/.version +1 -1
- data/CHANGELOG.md +12 -0
- data/README.md +1 -1
- data/auth0.gemspec +1 -1
- data/lib/auth0/api/v2/organizations.rb +9 -9
- data/lib/auth0/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2a503480a55e93a70b997891d3011da8810c51f407497f1bb36ffa1899e81f1
|
|
4
|
+
data.tar.gz: 2fb4749079b34c2623469c53114f03f3f2bf397f0482450fd36723bf595140c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cff3a9105df439932be9b1a2ca0ce91e2b11028df0e71611cfac84c550e87036b49ab84d613cdd35591454ca993e5ff63dc1043d59acf20045e31941bb02288b
|
|
7
|
+
data.tar.gz: 1ebe559ca602cfe02418815b9233f1ab524465ccb86515d86ea893cf794b72c931f05d4e6a67bb7215835cd798329e56631493ed891a0052a91bbfd798db92ca
|
data/.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v5.
|
|
1
|
+
v5.20.0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v5.20.0](https://github.com/auth0/ruby-auth0/tree/v5.20.0) (2026-05-29)
|
|
4
|
+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.19.0...v5.20.0)
|
|
5
|
+
|
|
6
|
+
**Changed**
|
|
7
|
+
- Support jwt gem 3.x alongside 2.x [\#726](https://github.com/auth0/ruby-auth0/pull/726) ([dan98765](https://github.com/dan98765))
|
|
8
|
+
|
|
9
|
+
**Fixed**
|
|
10
|
+
- Fix YARD comment with extra space [\#637](https://github.com/auth0/ruby-auth0/pull/637) ([qtro](https://github.com/qtro))
|
|
11
|
+
|
|
12
|
+
**Security**
|
|
13
|
+
- chore(deps): bump jwt from 3.1.2 to 3.2.0 [\#745](https://github.com/auth0/ruby-auth0/pull/745) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
14
|
+
|
|
3
15
|
## [v5.19.0](https://github.com/auth0/ruby-auth0/tree/v5.19.0) (2026-05-08)
|
|
4
16
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.18.1...v5.19.0)
|
|
5
17
|
|
data/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Ruby API client for the [Auth0](https://auth0.com) platform.
|
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
16
|
> [!NOTE]
|
|
17
|
-
> **[v6.0.0.beta.
|
|
17
|
+
> **[v6.0.0.beta.1](https://github.com/auth0/ruby-auth0/releases/tag/v6.0.0.beta.1) is now available!** This release features a completely rewritten Management API client, auto-generated from the Auth0 OpenAPI spec using [Fern](https://buildwithfern.com/), with strongly-typed responses, built-in pagination, and automatic token management.
|
|
18
18
|
>
|
|
19
19
|
> ```bash
|
|
20
20
|
> gem install auth0 --pre
|
data/auth0.gemspec
CHANGED
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
|
15
15
|
s.require_paths = ['lib']
|
|
16
16
|
|
|
17
17
|
s.add_runtime_dependency 'rest-client', '~> 2.1'
|
|
18
|
-
s.add_runtime_dependency 'jwt', '
|
|
18
|
+
s.add_runtime_dependency 'jwt', '>= 2.7', '< 4.0'
|
|
19
19
|
s.add_runtime_dependency 'zache', '~> 0.12'
|
|
20
20
|
s.add_runtime_dependency 'addressable', '~> 2.8'
|
|
21
21
|
s.add_runtime_dependency 'retryable', '~> 3.0'
|
|
@@ -131,7 +131,7 @@ module Auth0
|
|
|
131
131
|
# Add an enabled connection for an Organization
|
|
132
132
|
# @see https://auth0.com/docs/api/management/v2/#!/Organizations/post_enabled_connections
|
|
133
133
|
# @param organization_id [string] The Organization ID
|
|
134
|
-
# @param connection_id [string] The
|
|
134
|
+
# @param connection_id [string] The Connection ID
|
|
135
135
|
# @param assign_membership_on_login [boolean] flag to allow assign membership on login
|
|
136
136
|
#
|
|
137
137
|
# @return [json] Returns the connection for the given organization
|
|
@@ -139,7 +139,7 @@ module Auth0
|
|
|
139
139
|
raise Auth0::MissingOrganizationId, 'Must supply a valid organization_id' if organization_id.to_s.empty?
|
|
140
140
|
raise Auth0::InvalidParameter, 'Must supply a valid connection id' if connection_id.to_s.empty?
|
|
141
141
|
path = "#{organizations_enabled_connections_path(organization_id)}"
|
|
142
|
-
|
|
142
|
+
|
|
143
143
|
body = {}
|
|
144
144
|
body[:assign_membership_on_login] = assign_membership_on_login
|
|
145
145
|
body[:connection_id] = connection_id
|
|
@@ -176,7 +176,7 @@ module Auth0
|
|
|
176
176
|
# Get invite by id in an Organization
|
|
177
177
|
# @see https://auth0.com/docs/api/management/v2/#!/Organizations/get_invitations_by_invitation_id
|
|
178
178
|
# @param organization_id [string] The Organization ID
|
|
179
|
-
# @param invitation_id [string] The
|
|
179
|
+
# @param invitation_id [string] The Invitation ID
|
|
180
180
|
#
|
|
181
181
|
# @return [json] Returns the invitation for the given organization
|
|
182
182
|
def get_organizations_invite(organization_id, invitation_id)
|
|
@@ -194,7 +194,7 @@ module Auth0
|
|
|
194
194
|
def create_organizations_invite(organization_id, options = {})
|
|
195
195
|
raise Auth0::MissingOrganizationId, 'Must supply a valid organization_id' if organization_id.to_s.empty?
|
|
196
196
|
path = "#{organizations_invitations_path(organization_id)}"
|
|
197
|
-
|
|
197
|
+
|
|
198
198
|
post(path, options)
|
|
199
199
|
end
|
|
200
200
|
alias add_organizations_invite create_organizations_invite
|
|
@@ -202,7 +202,7 @@ module Auth0
|
|
|
202
202
|
# Delete an invitation to organization
|
|
203
203
|
# @see https://auth0.com/docs/api/management/v2/#!/Organizations/delete_invitations_by_invitation_id
|
|
204
204
|
# @param organization_id [string] The Organization ID
|
|
205
|
-
# @param invitation_id [string] The Invitation
|
|
205
|
+
# @param invitation_id [string] The Invitation ID
|
|
206
206
|
def delete_organizations_invite(organization_id, invitation_id)
|
|
207
207
|
raise Auth0::MissingOrganizationId, 'Must supply a valid organization_id' if organization_id.to_s.empty?
|
|
208
208
|
raise Auth0::InvalidParameter, 'Must supply a valid invitation id' if invitation_id.to_s.empty?
|
|
@@ -253,7 +253,7 @@ module Auth0
|
|
|
253
253
|
raise Auth0::MissingOrganizationId, 'Must supply a valid organization_id' if organization_id.to_s.empty?
|
|
254
254
|
raise Auth0::InvalidParameter, 'Must supply an array of member ids' if members.empty?
|
|
255
255
|
path = "#{organizations_members_path(organization_id)}"
|
|
256
|
-
|
|
256
|
+
|
|
257
257
|
body = {}
|
|
258
258
|
body[:members] = members
|
|
259
259
|
|
|
@@ -304,7 +304,7 @@ module Auth0
|
|
|
304
304
|
raise Auth0::InvalidParameter, 'Must supply a valid user id' if user_id.to_s.empty?
|
|
305
305
|
raise Auth0::InvalidParameter, 'Must supply an array of role ids' if roles.empty?
|
|
306
306
|
path = "#{organizations_member_roles_path(organization_id, user_id)}"
|
|
307
|
-
|
|
307
|
+
|
|
308
308
|
body = {}
|
|
309
309
|
body[:roles] = roles
|
|
310
310
|
|
|
@@ -322,7 +322,7 @@ module Auth0
|
|
|
322
322
|
raise Auth0::InvalidParameter, 'Must supply a valid user id' if user_id.to_s.empty?
|
|
323
323
|
raise Auth0::InvalidParameter, 'Must supply an array of role ids' if roles.empty?
|
|
324
324
|
path = "#{organizations_member_roles_path(organization_id, user_id)}"
|
|
325
|
-
|
|
325
|
+
|
|
326
326
|
body = {}
|
|
327
327
|
body[:roles] = roles
|
|
328
328
|
|
|
@@ -357,7 +357,7 @@ module Auth0
|
|
|
357
357
|
def create_organizations_client_grant(organization_id, grant_id)
|
|
358
358
|
raise Auth0::MissingOrganizationId, 'Must supply a valid organization_id' if organization_id.to_s.empty?
|
|
359
359
|
raise Auth0::InvalidParameter, 'Must supply a valid grant_id' if grant_id.to_s.empty?
|
|
360
|
-
|
|
360
|
+
|
|
361
361
|
body = {}
|
|
362
362
|
body[:grant_id] = grant_id
|
|
363
363
|
|
data/lib/auth0/version.rb
CHANGED
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.
|
|
4
|
+
version: 5.20.0
|
|
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: 2026-05-
|
|
14
|
+
date: 2026-05-29 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rest-client
|
|
@@ -31,16 +31,22 @@ dependencies:
|
|
|
31
31
|
name: jwt
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
|
33
33
|
requirements:
|
|
34
|
-
- - "
|
|
34
|
+
- - ">="
|
|
35
35
|
- !ruby/object:Gem::Version
|
|
36
36
|
version: '2.7'
|
|
37
|
+
- - "<"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '4.0'
|
|
37
40
|
type: :runtime
|
|
38
41
|
prerelease: false
|
|
39
42
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
43
|
requirements:
|
|
41
|
-
- - "
|
|
44
|
+
- - ">="
|
|
42
45
|
- !ruby/object:Gem::Version
|
|
43
46
|
version: '2.7'
|
|
47
|
+
- - "<"
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '4.0'
|
|
44
50
|
- !ruby/object:Gem::Dependency
|
|
45
51
|
name: zache
|
|
46
52
|
requirement: !ruby/object:Gem::Requirement
|