Skip to content

Conversation

@sbellone
Copy link
Contributor

@sbellone sbellone commented Jan 30, 2026

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-4614

Since https://github.com/algolia/data-ingestion/pull/6624, the authentication endpoint of the ingestion API accepts a code property for oauth authentications.
This code is an authorization code sent by an authorization server in its Authorization response, when performing an authorization_code OAuth flow.
The authentication API now supports receiving such code that it uses to request the actual access_token.

Changes included:

  • Add code property to the create and update payload, for OAuth authorization
  • The server will accept either (client_id AND client_secret) OR code. So none of them are marked mandatory anymore, the server will do the validation.

@sbellone sbellone self-assigned this Jan 30, 2026
@sbellone sbellone requested a review from a team as a code owner January 30, 2026 10:47
@algolia-bot
Copy link
Collaborator

algolia-bot commented Jan 30, 2026

💥 Breaking changes detected !!

Either this PR or a previous PR not released yet introduced breaking changes, be careful when merging.
You can find the details in the 'client java@21' CI job.

✔️ Code generated!

Name Link
🪓 Triggered by 65091483d028fe4d1d4c168d513f85e020f849ec
🍃 Generated commit 3d4f142732dd4efa10022c0de68d08969876697d
🌲 Generated branch generated/feat/ingestion-authentication-oauth-code
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
javascript 2460
go 2249
php 1928
csharp 1644
python 1336
java 1150
ruby 1046
swift 853
scala 23

@sbellone sbellone changed the title feat(ingestion): new code property in oauth authentication feat(specs): Ingestion API: new code property in oauth authentication Jan 30, 2026
@sbellone sbellone changed the title feat(specs): Ingestion API: new code property in oauth authentication feat(specs): Ingestion API: new code property in oauth authentication Jan 30, 2026
@sbellone sbellone requested a review from Fluf22 February 4, 2026 09:43
@Fluf22 Fluf22 merged commit 63b0c54 into main Feb 4, 2026
36 checks passed
@Fluf22 Fluf22 deleted the feat/ingestion-authentication-oauth-code branch February 4, 2026 17:52
algolia-bot added a commit that referenced this pull request Feb 5, 2026
…on (#5897) (generated) [skip ci]

Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-csharp that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-kotlin that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-python that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-scala that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-swift that referenced this pull request Feb 5, 2026
…on (generated)

algolia/api-clients-automation#5897

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants