Skip to content

Commit 63b0c54

Browse files
sbelloneFluf22
andauthored
feat(specs): Ingestion API: new code property in oauth authentication (#5897)
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
1 parent 3020ee2 commit 63b0c54

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

specs/ingestion/common/schemas/authentication.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ AuthOAuthPartial:
168168
client_secret:
169169
type: string
170170
description: Client secret. This field is `null` in the API response.
171+
code:
172+
type: string
173+
description: |
174+
Authorization code.
175+
Used during an `authorization_code` grant type flow, to request an access_token when creating/updating the authentication.
176+
This field is not returned in the API response.
171177
scope:
172178
type: string
173179
default: ''
@@ -271,18 +277,23 @@ AuthOAuth:
271277
client_secret:
272278
type: string
273279
description: Client secret. This field is `null` in the API response.
280+
code:
281+
type: string
282+
description: |
283+
Authorization code.
284+
Used during an `authorization_code` grant type flow, to request an access_token when creating/updating the authentication.
285+
This field is not returned in the API response.
274286
scope:
275287
type: string
276288
default: ''
277289
description: OAuth scope.
278290
required:
279291
- url
280-
- client_id
281-
- client_secret
282292
x-discriminator-fields:
283293
- url
284294
- client_id
285295
- client_secret
296+
- code
286297

287298
AuthAlgolia:
288299
title: Algolia

0 commit comments

Comments
 (0)