Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions specs/ingestion/common/schemas/authentication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ AuthOAuthPartial:
client_secret:
type: string
description: Client secret. This field is `null` in the API response.
code:
type: string
description: |
Authorization code.
Used during an `authorization_code` grant type flow, to request an access_token when creating/updating the authentication.
This field is not returned in the API response.
scope:
type: string
default: ''
Expand Down Expand Up @@ -271,18 +277,29 @@ AuthOAuth:
client_secret:
type: string
description: Client secret. This field is `null` in the API response.
code:
type: string
description: |
Authorization code.
Used during an `authorization_code` grant type flow, to request an access_token when creating/updating the authentication.
This field is not returned in the API response.
scope:
type: string
default: ''
description: OAuth scope.
required:
- url
- client_id
- client_secret
oneOf:
- required:
- client_id
- client_secret
- required:
- code
Comment thread
Fluf22 marked this conversation as resolved.
Outdated
x-discriminator-fields:
- url
- client_id
- client_secret
- code

AuthAlgolia:
title: Algolia
Expand Down
Loading