workos 1.5.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/.semaphore/semaphore.yml +2 -2
- data/Gemfile.lock +3 -3
- data/lib/workos/connection.rb +1 -1
- data/lib/workos/directory.rb +2 -2
- data/lib/workos/directory_sync.rb +29 -0
- data/lib/workos/errors.rb +4 -0
- data/lib/workos/organization.rb +4 -1
- data/lib/workos/organizations.rb +18 -4
- data/lib/workos/profile.rb +7 -2
- data/lib/workos/sso.rb +38 -15
- data/lib/workos/types/connection_struct.rb +1 -1
- data/lib/workos/types/directory_struct.rb +2 -2
- data/lib/workos/types/organization_struct.rb +1 -0
- data/lib/workos/types/profile_struct.rb +1 -0
- data/lib/workos/types/webhook_struct.rb +14 -0
- data/lib/workos/types.rb +1 -0
- data/lib/workos/version.rb +1 -1
- data/lib/workos/webhook.rb +47 -0
- data/lib/workos/webhooks.rb +168 -0
- data/lib/workos.rb +3 -0
- data/spec/lib/workos/directory_sync_spec.rb +43 -10
- data/spec/lib/workos/sso_spec.rb +142 -2
- data/spec/lib/workos/webhooks_spec.rb +190 -0
- data/spec/support/fixtures/vcr_cassettes/{organization/update_invalid.yml → directory_sync/get_directory_with_invalid_id.yml} +35 -25
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_valid_id.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_after.yml +34 -22
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_before.yml +36 -22
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_domain.yml +30 -19
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_limit.yml +31 -20
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_no_options.yml +39 -21
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_search.yml +32 -20
- data/spec/support/fixtures/vcr_cassettes/organization/create.yml +1 -1
- data/spec/support/fixtures/vcr_cassettes/organization/get.yml +1 -1
- data/spec/support/fixtures/vcr_cassettes/organization/list.yml +4 -4
- data/spec/support/fixtures/vcr_cassettes/organization/update.yml +1 -1
- data/spec/support/fixtures/vcr_cassettes/sso/profile.yml +1 -1
- data/spec/support/profile.txt +1 -1
- data/spec/support/webhook_payload.txt +1 -0
- metadata +14 -5
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.workos.com/directories?search=
|
5
|
+
uri: https://api.workos.com/directories?search=Testing
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -14,7 +14,7 @@ http_interactions:
|
|
14
14
|
Accept:
|
15
15
|
- "*/*"
|
16
16
|
User-Agent:
|
17
|
-
- WorkOS; ruby/3.0.
|
17
|
+
- WorkOS; ruby/3.0.2; x86_64-darwin19; v1.6.0
|
18
18
|
Authorization:
|
19
19
|
- Bearer <API_KEY>
|
20
20
|
response:
|
@@ -22,14 +22,14 @@ http_interactions:
|
|
22
22
|
code: 200
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
|
-
|
26
|
-
-
|
25
|
+
Date:
|
26
|
+
- Sun, 31 Oct 2021 23:16:19 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Transfer-Encoding:
|
30
|
+
- chunked
|
27
31
|
Connection:
|
28
32
|
- keep-alive
|
29
|
-
Vary:
|
30
|
-
- Origin, Accept-Encoding
|
31
|
-
Access-Control-Allow-Credentials:
|
32
|
-
- 'true'
|
33
33
|
Content-Security-Policy:
|
34
34
|
- 'default-src ''self'';base-uri ''self'';block-all-mixed-content;font-src ''self''
|
35
35
|
https: data:;frame-ancestors ''self'';img-src ''self'' data:;object-src ''none'';script-src
|
@@ -52,22 +52,34 @@ http_interactions:
|
|
52
52
|
- no-referrer
|
53
53
|
X-Xss-Protection:
|
54
54
|
- '0'
|
55
|
+
Vary:
|
56
|
+
- Origin, Accept-Encoding
|
57
|
+
Access-Control-Allow-Credentials:
|
58
|
+
- 'true'
|
55
59
|
X-Request-Id:
|
56
|
-
-
|
57
|
-
Content-Type:
|
58
|
-
- application/json; charset=utf-8
|
59
|
-
Content-Length:
|
60
|
-
- '305'
|
60
|
+
- 11c4f81a-6849-4809-8c57-a3d1b56612eb
|
61
61
|
Etag:
|
62
|
-
- W/"
|
63
|
-
Date:
|
64
|
-
- Mon, 07 Jun 2021 17:55:30 GMT
|
62
|
+
- W/"2f8-aWsjddKqVKL34/+wL752xfuiH2Q"
|
65
63
|
Via:
|
66
64
|
- 1.1 vegur
|
65
|
+
Cf-Cache-Status:
|
66
|
+
- DYNAMIC
|
67
|
+
Report-To:
|
68
|
+
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=t8d6LCrGu92dvmMmTECbvhqH82TcvvWNxTw%2Bz6jGMz8S0Y7mg91uXsTylK4KEs9uMr5gnnYAi%2FHAq1FwNpt5MoYMFTqfR1wDpE3UIsNusj%2F1TxwAUwx2J3BclqJl0riP44WITzFLdv66r3kd1g%3D%3D"}],"group":"cf-nel","max_age":604800}'
|
69
|
+
Nel:
|
70
|
+
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
|
71
|
+
Server:
|
72
|
+
- cloudflare
|
73
|
+
Cf-Ray:
|
74
|
+
- 6a7097250eb40baf-DFW
|
75
|
+
Alt-Svc:
|
76
|
+
- h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443";
|
77
|
+
ma=86400
|
67
78
|
body:
|
68
|
-
encoding:
|
69
|
-
string: '{"object":"list","
|
70
|
-
|
79
|
+
encoding: ASCII-8BIT
|
80
|
+
string: '{"object":"list","data":[{"object":"directory","id":"directory_01FK17DWRHH7APAFXT5B52PV0W","organization_id":"org_01F6Q6TFP7RD2PF6J03ANNWDKV","name":"Testing
|
81
|
+
Active Attribute","external_key":"QArgyQQkq4G0MquM","type":"azure scim v2.0","state":"linked","created_at":"2021-10-27T15:55:47.856Z","updated_at":"2021-10-27T16:03:43.990Z","domain":"example.me"},{"object":"directory","id":"directory_01FCV1FRW3D93X8VBZBCAQWEVS","organization_id":"org_01F9293WD2PDEEV4Y625XPZVG7","name":"Testing","external_key":"p2TZ3heuEoyU2kWk","type":"azure
|
82
|
+
scim v2.0","state":"linked","created_at":"2021-08-11T16:42:20.416Z","updated_at":"2021-10-27T15:50:19.430Z","domain":"foo-corp.com"}],"list_metadata":{"before":null,"after":null},"listMetadata":{"before":null,"after":null}}'
|
71
83
|
http_version:
|
72
|
-
recorded_at:
|
84
|
+
recorded_at: Sun, 31 Oct 2021 23:16:19 GMT
|
73
85
|
recorded_with: VCR 5.0.0
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
body:
|
79
79
|
encoding: UTF-8
|
80
80
|
string: '{"object":"organization","id":"org_01FCPEJXEZR4DSBA625YMGQT9N","name":"Test
|
81
|
-
Organization","created_at":"2021-08-09T21:55:02.755Z","updated_at":"2021-08-09T21:55:02.755Z","domains":[{"object":"organization_domain","id":"org_domain_01FCPEJXF4CTFEDFEGDTRN1MZG","domain":"example.io"}]}'
|
81
|
+
Organization","allow_profiles_outside_organization":false,"created_at":"2021-08-09T21:55:02.755Z","updated_at":"2021-08-09T21:55:02.755Z","domains":[{"object":"organization_domain","id":"org_domain_01FCPEJXF4CTFEDFEGDTRN1MZG","domain":"example.io"}]}'
|
82
82
|
http_version:
|
83
83
|
recorded_at: Mon, 09 Aug 2021 21:55:02 GMT
|
84
84
|
recorded_with: VCR 5.0.0
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
body:
|
79
79
|
encoding: ASCII-8BIT
|
80
80
|
string: '{"object":"organization","id":"org_01F9293WD2PDEEV4Y625XPZVG7","name":"Foo
|
81
|
-
Corp","created_at":"2021-06-25T19:07:33.155Z","updated_at":"2021-06-25T19:07:33.155Z","domains":[{"object":"organization_domain","id":"org_domain_01F9293WD8KZAS4ESBK57SZ4D8","domain":"foo-corp.com"}]}'
|
81
|
+
Corp","allow_profiles_outside_organization":false,"created_at":"2021-06-25T19:07:33.155Z","updated_at":"2021-06-25T19:07:33.155Z","domains":[{"object":"organization_domain","id":"org_domain_01F9293WD8KZAS4ESBK57SZ4D8","domain":"foo-corp.com"}]}'
|
82
82
|
http_version:
|
83
83
|
recorded_at: Mon, 09 Aug 2021 21:53:34 GMT
|
84
84
|
recorded_with: VCR 5.0.0
|
@@ -78,10 +78,10 @@ http_interactions:
|
|
78
78
|
body:
|
79
79
|
encoding: ASCII-8BIT
|
80
80
|
string: '{"object":"list","data":[{"object":"organization","id":"org_01FCPEJXEZR4DSBA625YMGQT9N","name":"Test
|
81
|
-
Organization","created_at":"2021-08-09T21:55:02.755Z","updated_at":"2021-08-09T21:55:02.755Z","domains":[{"object":"organization_domain","id":"org_domain_01FCPEJXF4CTFEDFEGDTRN1MZG","domain":"example.io"}]},{"object":"organization","id":"org_01F9293WD2PDEEV4Y625XPZVG7","name":"Foo
|
82
|
-
Corp","created_at":"2021-06-25T19:07:33.155Z","updated_at":"2021-06-25T19:07:33.155Z","domains":[{"object":"organization_domain","id":"org_domain_01F9293WD8KZAS4ESBK57SZ4D8","domain":"foo-corp.com"}]},{"object":"organization","id":"org_01F8873JSZWN1MJCDN537FEK1H","name":"Example
|
83
|
-
Organization","created_at":"2021-06-15T16:12:10.942Z","updated_at":"2021-06-15T16:12:10.942Z","domains":[]},{"object":"organization","id":"org_01F79Z8TGGTA8Q67Q50FDXAYN3","name":"gmail.com","created_at":"2021-06-03T22:18:01.100Z","updated_at":"2021-06-03T22:18:01.100Z","domains":[{"object":"organization_domain","id":"org_domain_01F79Z8TGS4VYFX0246RAWSZMP","domain":"gmail.com"}]},{"object":"organization","id":"org_01F6Q6TFP7RD2PF6J03ANNWDKV","name":"Test
|
84
|
-
Organization","created_at":"2021-05-27T15:24:25.670Z","updated_at":"2021-08-09T21:53:34.525Z","domains":[{"object":"organization_domain","id":"org_domain_01FCPEG7BAYMQ4CHMG41Y2VNHF","domain":"example.me"}]},{"object":"organization","id":"org_01F6Q6NGZS8R5ZTH3C1XR96JK7","name":"WorkOS","created_at":"2021-05-27T15:21:43.160Z","updated_at":"2021-05-27T15:21:43.160Z","domains":[{"object":"organization_domain","id":"org_domain_01F6Q6NGZZ54WSX1XCMCKSC4DA","domain":"workos.com"}]}],"listMetadata":{"before":"before-id","after":null}}'
|
81
|
+
Organization","allow_profiles_outside_organization":false,"created_at":"2021-08-09T21:55:02.755Z","updated_at":"2021-08-09T21:55:02.755Z","domains":[{"object":"organization_domain","id":"org_domain_01FCPEJXF4CTFEDFEGDTRN1MZG","domain":"example.io"}]},{"object":"organization","id":"org_01F9293WD2PDEEV4Y625XPZVG7","name":"Foo
|
82
|
+
Corp","allow_profiles_outside_organization":false,"created_at":"2021-06-25T19:07:33.155Z","updated_at":"2021-06-25T19:07:33.155Z","domains":[{"object":"organization_domain","id":"org_domain_01F9293WD8KZAS4ESBK57SZ4D8","domain":"foo-corp.com"}]},{"object":"organization","id":"org_01F8873JSZWN1MJCDN537FEK1H","name":"Example
|
83
|
+
Organization","allow_profiles_outside_organization":false,"created_at":"2021-06-15T16:12:10.942Z","updated_at":"2021-06-15T16:12:10.942Z","domains":[]},{"object":"organization","id":"org_01F79Z8TGGTA8Q67Q50FDXAYN3","name":"gmail.com","allow_profiles_outside_organization":false,"created_at":"2021-06-03T22:18:01.100Z","updated_at":"2021-06-03T22:18:01.100Z","domains":[{"object":"organization_domain","id":"org_domain_01F79Z8TGS4VYFX0246RAWSZMP","domain":"gmail.com"}]},{"object":"organization","id":"org_01F6Q6TFP7RD2PF6J03ANNWDKV","name":"Test
|
84
|
+
Organization","allow_profiles_outside_organization":false,"created_at":"2021-05-27T15:24:25.670Z","updated_at":"2021-08-09T21:53:34.525Z","domains":[{"object":"organization_domain","id":"org_domain_01FCPEG7BAYMQ4CHMG41Y2VNHF","domain":"example.me"}]},{"object":"organization","id":"org_01F6Q6NGZS8R5ZTH3C1XR96JK7","name":"WorkOS","allow_profiles_outside_organization":false,"created_at":"2021-05-27T15:21:43.160Z","updated_at":"2021-05-27T15:21:43.160Z","domains":[{"object":"organization_domain","id":"org_domain_01F6Q6NGZZ54WSX1XCMCKSC4DA","domain":"workos.com"}]}],"listMetadata":{"before":"before-id","after":null}}'
|
85
85
|
http_version:
|
86
86
|
recorded_at: Mon, 09 Aug 2021 21:55:03 GMT
|
87
87
|
recorded_with: VCR 5.0.0
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
body:
|
79
79
|
encoding: ASCII-8BIT
|
80
80
|
string: '{"object":"organization","id":"org_01F6Q6TFP7RD2PF6J03ANNWDKV","name":"Test
|
81
|
-
Organization","created_at":"2021-05-27T15:24:25.670Z","updated_at":"2021-08-09T21:53:34.525Z","domains":[{"object":"organization_domain","id":"org_domain_01FCPEG7BAYMQ4CHMG41Y2VNHF","domain":"example.me"}]}'
|
81
|
+
Organization","allow_profiles_outside_organization":false,"created_at":"2021-05-27T15:24:25.670Z","updated_at":"2021-08-09T21:53:34.525Z","domains":[{"object":"organization_domain","id":"org_domain_01FCPEG7BAYMQ4CHMG41Y2VNHF","domain":"example.me"}]}'
|
82
82
|
http_version:
|
83
83
|
recorded_at: Mon, 09 Aug 2021 21:53:34 GMT
|
84
84
|
recorded_with: VCR 5.0.0
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
body:
|
68
68
|
encoding: UTF-8
|
69
69
|
string:
|
70
|
-
'{"object":"profile","id":"prof_01EEJTY9SZ1R350RB7B73SNBKF","connection_id":"conn_01E83FVYZHY7DM4S9503JHV0R5","connection_type":"GoogleOAuth","idp_id":"116485463307139932699","email":"bob.loblaw@workos.com","first_name":"Bob","last_name":"Loblaw","raw_attributes":{"hd":"workos.com","id":"116485463307139932699","name":"Bob
|
70
|
+
'{"object":"profile","id":"prof_01EEJTY9SZ1R350RB7B73SNBKF","organization_id":"org_01FG53X8636WSNW2WEKB2C31ZB","connection_id":"conn_01E83FVYZHY7DM4S9503JHV0R5","connection_type":"GoogleOAuth","idp_id":"116485463307139932699","email":"bob.loblaw@workos.com","first_name":"Bob","last_name":"Loblaw","raw_attributes":{"hd":"workos.com","id":"116485463307139932699","name":"Bob
|
71
71
|
Loblaw","email":"bob.loblaw@workos.com","locale":"en","picture":"https://lh3.googleusercontent.com/a-/AOh14GyO2hLlgZvteDQ3Ldi3_-RteZLya0hWH7247Cam=s96-c","given_name":"Bob","family_name":"Loblaw","verified_email":true}}'
|
72
72
|
http_version:
|
73
73
|
recorded_at: Tue, 18 May 2021 22:55:21 GMT
|
data/spec/support/profile.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"profile":{"object":"profile","id":"prof_01DRA1XNSJDZ19A31F183ECQW5","email":"demo@workos-okta.com","first_name":"WorkOS","connection_id":"conn_01EMH8WAK20T42N2NBMNBCYHAG","connection_type":"OktaSAML","last_name":"Demo","idp_id":"00u1klkowm8EGah2H357","raw_attributes":{"id":"prof_01DRA1XNSJDZ19A31F183ECQW5","email":"demo@workos-okta.com","first_name":"WorkOS","last_name":"Demo","idp_id":"00u1klkowm8EGah2H357"}},"access_token":"01DVX6QBS3EG6FHY2ESAA5Q65X"}
|
1
|
+
{"profile":{"object":"profile","id":"prof_01DRA1XNSJDZ19A31F183ECQW5","email":"demo@workos-okta.com","first_name":"WorkOS","organization_id":"org_01FG53X8636WSNW2WEKB2C31ZB","connection_id":"conn_01EMH8WAK20T42N2NBMNBCYHAG","connection_type":"OktaSAML","last_name":"Demo","idp_id":"00u1klkowm8EGah2H357","raw_attributes":{"id":"prof_01DRA1XNSJDZ19A31F183ECQW5","email":"demo@workos-okta.com","first_name":"WorkOS","last_name":"Demo","idp_id":"00u1klkowm8EGah2H357"}},"access_token":"01DVX6QBS3EG6FHY2ESAA5Q65X"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"id": "wh_123","data":{"id":"directory_user_01FAEAJCR3ZBZ30D8BD1924TVG","state":"active","emails":[{"type":"work","value":"blair@foo-corp.com","primary":true}],"idp_id":"00u1e8mutl6wlH3lL4x7","object":"directory_user","username":"blair@foo-corp.com","last_name":"Lunceford","first_name":"Blair","directory_id":"directory_01F9M7F68PZP8QXP8G7X5QRHS7","raw_attributes":{"name":{"givenName":"Blair","familyName":"Lunceford","middleName":"Elizabeth","honorificPrefix":"Ms."},"title":"Developer Success Engineer","active":true,"emails":[{"type":"work","value":"blair@foo-corp.com","primary":true}],"groups":[],"locale":"en-US","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"userName":"blair@foo-corp.com","addresses":[{"region":"CO","primary":true,"locality":"Steamboat Springs","postalCode":"80487"}],"externalId":"00u1e8mutl6wlH3lL4x7","displayName":"Blair Lunceford","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"manager":{"value":"2","displayName":"Kathleen Chung"},"division":"Engineering","department":"Customer Success"}}},"event":"dsync.user.created"}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WorkOS
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-runtime
|
@@ -234,7 +234,10 @@ files:
|
|
234
234
|
- lib/workos/types/passwordless_session_struct.rb
|
235
235
|
- lib/workos/types/profile_struct.rb
|
236
236
|
- lib/workos/types/provider_enum.rb
|
237
|
+
- lib/workos/types/webhook_struct.rb
|
237
238
|
- lib/workos/version.rb
|
239
|
+
- lib/workos/webhook.rb
|
240
|
+
- lib/workos/webhooks.rb
|
238
241
|
- sorbet/config
|
239
242
|
- sorbet/rbi/gems/addressable.rbi
|
240
243
|
- sorbet/rbi/gems/ast.rbi
|
@@ -276,6 +279,7 @@ files:
|
|
276
279
|
- spec/lib/workos/passwordless_spec.rb
|
277
280
|
- spec/lib/workos/portal_spec.rb
|
278
281
|
- spec/lib/workos/sso_spec.rb
|
282
|
+
- spec/lib/workos/webhooks_spec.rb
|
279
283
|
- spec/spec_helper.rb
|
280
284
|
- spec/support/fixtures/vcr_cassettes/audit_trail/create_event.yml
|
281
285
|
- spec/support/fixtures/vcr_cassettes/audit_trail/create_event_custom_idempotency_key.yml
|
@@ -285,6 +289,8 @@ files:
|
|
285
289
|
- spec/support/fixtures/vcr_cassettes/audit_trail/get_events.yml
|
286
290
|
- spec/support/fixtures/vcr_cassettes/base/execute_request_unauthenticated.yml
|
287
291
|
- spec/support/fixtures/vcr_cassettes/directory_sync/delete_directory.yml
|
292
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_invalid_id.yml
|
293
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_valid_id.yml
|
288
294
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_group.yml
|
289
295
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_group_with_invalid_id.yml
|
290
296
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_user.yml
|
@@ -315,7 +321,6 @@ files:
|
|
315
321
|
- spec/support/fixtures/vcr_cassettes/organization/get_invalid.yml
|
316
322
|
- spec/support/fixtures/vcr_cassettes/organization/list.yml
|
317
323
|
- spec/support/fixtures/vcr_cassettes/organization/update.yml
|
318
|
-
- spec/support/fixtures/vcr_cassettes/organization/update_invalid.yml
|
319
324
|
- spec/support/fixtures/vcr_cassettes/passwordless/create_session.yml
|
320
325
|
- spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
|
321
326
|
- spec/support/fixtures/vcr_cassettes/passwordless/send_session.yml
|
@@ -337,6 +342,7 @@ files:
|
|
337
342
|
- spec/support/fixtures/vcr_cassettes/sso/profile.yml
|
338
343
|
- spec/support/profile.txt
|
339
344
|
- spec/support/shared_examples/client_spec.rb
|
345
|
+
- spec/support/webhook_payload.txt
|
340
346
|
- workos.gemspec
|
341
347
|
homepage: https://github.com/workos-inc/workos-ruby
|
342
348
|
licenses:
|
@@ -358,7 +364,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
358
364
|
- !ruby/object:Gem::Version
|
359
365
|
version: '0'
|
360
366
|
requirements: []
|
361
|
-
rubygems_version: 3.2.
|
367
|
+
rubygems_version: 3.2.33
|
362
368
|
signing_key:
|
363
369
|
specification_version: 4
|
364
370
|
summary: API client for WorkOS
|
@@ -370,6 +376,7 @@ test_files:
|
|
370
376
|
- spec/lib/workos/passwordless_spec.rb
|
371
377
|
- spec/lib/workos/portal_spec.rb
|
372
378
|
- spec/lib/workos/sso_spec.rb
|
379
|
+
- spec/lib/workos/webhooks_spec.rb
|
373
380
|
- spec/spec_helper.rb
|
374
381
|
- spec/support/fixtures/vcr_cassettes/audit_trail/create_event.yml
|
375
382
|
- spec/support/fixtures/vcr_cassettes/audit_trail/create_event_custom_idempotency_key.yml
|
@@ -379,6 +386,8 @@ test_files:
|
|
379
386
|
- spec/support/fixtures/vcr_cassettes/audit_trail/get_events.yml
|
380
387
|
- spec/support/fixtures/vcr_cassettes/base/execute_request_unauthenticated.yml
|
381
388
|
- spec/support/fixtures/vcr_cassettes/directory_sync/delete_directory.yml
|
389
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_invalid_id.yml
|
390
|
+
- spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_valid_id.yml
|
382
391
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_group.yml
|
383
392
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_group_with_invalid_id.yml
|
384
393
|
- spec/support/fixtures/vcr_cassettes/directory_sync/get_user.yml
|
@@ -409,7 +418,6 @@ test_files:
|
|
409
418
|
- spec/support/fixtures/vcr_cassettes/organization/get_invalid.yml
|
410
419
|
- spec/support/fixtures/vcr_cassettes/organization/list.yml
|
411
420
|
- spec/support/fixtures/vcr_cassettes/organization/update.yml
|
412
|
-
- spec/support/fixtures/vcr_cassettes/organization/update_invalid.yml
|
413
421
|
- spec/support/fixtures/vcr_cassettes/passwordless/create_session.yml
|
414
422
|
- spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
|
415
423
|
- spec/support/fixtures/vcr_cassettes/passwordless/send_session.yml
|
@@ -431,3 +439,4 @@ test_files:
|
|
431
439
|
- spec/support/fixtures/vcr_cassettes/sso/profile.yml
|
432
440
|
- spec/support/profile.txt
|
433
441
|
- spec/support/shared_examples/client_spec.rb
|
442
|
+
- spec/support/webhook_payload.txt
|