Add OAuth curl examples and improve authentication documentation - #178
Merged
Conversation
- Add curl examples for Client Credentials flow - Add curl examples for Authorization Code flow with PKCE - Include JSON response examples for token endpoints and API calls - Update token_type field values to Bearer instead of placeholder Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Restore 'state' description for CSRF protection - Restore 'code_challenge' and 'code_challenge_method' descriptions - Restore 'code_verifier' description Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Add curl examples for Client Credentials flow - Add curl examples for Authorization Code flow with PKCE - Include JSON response examples for token endpoints and API calls - Update token_type field values to Bearer instead of placeholder - Restore parameter descriptions (state, code_challenge, code_challenge_method, code_verifier) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Change API endpoint from REST/V1/Employees to connectors/Profit_Address - Update response structure to match actual API format (skip, take, rows) - Use actual address data from get-connector examples - Add Accept header to API calls - Remove 'count' field from response (not in actual API response) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Remove duplicate colon in Accept endpoint line. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Update date in Dutch authentication.md - Update date in English authentication.md Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Deze PR verbetert de Profit OAuth-authenticatiedocumentatie door praktische (c)URL-voorbeelden en realistischere response-samples toe te voegen, zodat integrators sneller een werkende OAuth-implementatie kunnen opzetten.
review nodig: nee
labels: 📚 leerzaam
Changes:
- Toegevoegd: stap-voor-stap cURL-voorbeelden voor Client Credentials en Authorization Code + PKCE (token ophalen + API-call).
- Toegevoegd: voorbeeldresponses met
skip,takeenrows, en voorbeelden op een realistischer connectorpad (connectors/Profit_Address). - Verduidelijkt: OAuth-endpoints gelden voor zowel REST als SOAP + markdown-formatting verbeteringen.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| markdownpages/profit/nl/authentication.md | NL-documentatie uitgebreid met cURL-voorbeelden en response-samples; endpoints verduidelijkt. |
| markdownpages/profit/en/authentication.md | EN-documentatie uitgebreid met cURL-voorbeelden en response-samples; endpoints verduidelijkt. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Heimmot24
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhance the authentication documentation with practical cURL examples and realistic API response samples for both OAuth flows, making it easier for developers to integrate OAuth authentication.
Changes
skip,take, androwsfieldsconnectors/Profit_Address) instead of generic placeholderFiles Modified
markdownpages/profit/nl/authentication.md- Dutch OAuth documentationmarkdownpages/profit/en/authentication.md- English OAuth documentationBoth versions were updated consistently with matching examples and formatting.