@workos/openapi-spec 0.151.0 → 0.152.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/dist/open-api-spec.yaml +8 -0
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -40857,6 +40857,13 @@ components:
|
|
|
40857
40857
|
description: The OAuth authorization URL to redirect the user to.
|
|
40858
40858
|
example: >-
|
|
40859
40859
|
https://api.workos.com/data-integrations/q2czJKmVAraSBg8xFpT7M9uR/authorize-redirect
|
|
40860
|
+
state:
|
|
40861
|
+
type: string
|
|
40862
|
+
description: >-
|
|
40863
|
+
Identifies this authorization. WorkOS adds it to `return_to`
|
|
40864
|
+
alongside `connect_code` or `error`. Store it in the user's session
|
|
40865
|
+
with the `code_verifier` and compare it when the user returns.
|
|
40866
|
+
example: 01K8ZQ6Y3J4N5P7R9T2V4W6X8Z
|
|
40860
40867
|
completion:
|
|
40861
40868
|
type: string
|
|
40862
40869
|
description: >-
|
|
@@ -40868,6 +40875,7 @@ components:
|
|
|
40868
40875
|
const: finish_required
|
|
40869
40876
|
required:
|
|
40870
40877
|
- url
|
|
40878
|
+
- state
|
|
40871
40879
|
AuthMethodMismatchError:
|
|
40872
40880
|
type: object
|
|
40873
40881
|
properties: *ref_46
|
package/dist/types.d.ts
CHANGED
|
@@ -20028,6 +20028,11 @@ export interface components {
|
|
|
20028
20028
|
* @example https://api.workos.com/data-integrations/q2czJKmVAraSBg8xFpT7M9uR/authorize-redirect
|
|
20029
20029
|
*/
|
|
20030
20030
|
url: string;
|
|
20031
|
+
/**
|
|
20032
|
+
* @description Identifies this authorization. WorkOS adds it to `return_to` alongside `connect_code` or `error`. Store it in the user's session with the `code_verifier` and compare it when the user returns.
|
|
20033
|
+
* @example 01K8ZQ6Y3J4N5P7R9T2V4W6X8Z
|
|
20034
|
+
*/
|
|
20035
|
+
state: string;
|
|
20031
20036
|
/**
|
|
20032
20037
|
* @description `finish_required` when the request included `code_challenge`: the connection will be held until your app finishes it. Omitted otherwise. If you sent `code_challenge` and this is missing, don't redirect the user.
|
|
20033
20038
|
* @example finish_required
|