Skip to content

fix: Kinde Management API section refresh#728

Open
tamalchowdhury wants to merge 14 commits into
mainfrom
tamal/update/management-api-docs-refresh
Open

fix: Kinde Management API section refresh#728
tamalchowdhury wants to merge 14 commits into
mainfrom
tamal/update/management-api-docs-refresh

Conversation

@tamalchowdhury
Copy link
Copy Markdown
Collaborator

@tamalchowdhury tamalchowdhury commented Apr 30, 2026

This PR does an overhaul of the Management API section. It organizes the docs and sections with logical flow and removes redundant pages.

Created the following pages:

  • New Postman guide: Moves to its dedicated page. Updates the tutorial with the latest screenshots, steps, and common errors and troubleshooting info.
  • New Management API JS guide: documents the undocumented package in its dedicated doc page.

Overhauled the following pages with better logical structure and extended examples:

  • Quickstart page (first page)
  • Call the API (general guide)
  • Scopes
  • Troubleshooting
  • Rate Limits
  • Advanced search guide

Summary by CodeRabbit

  • Documentation
    • Rebranded and reorganized content under "Kinde Management API" with updated frontmatter and sidebar ordering
    • Expanded scopes guidance with an "Available scopes" reference, JWT claim examples, and revised scope management steps
    • Streamlined access-token docs to a client-credentials flow, added scoped parameter guidance, and removed the separate Node example and test-token doc
    • Added Postman "Call the API" walkthrough, JS SDK quickstart, advanced user-search updates, and small rate-limit & troubleshooting adjustments

@tamalchowdhury tamalchowdhury requested a review from a team as a code owner April 30, 2026 15:05
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 30, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Consolidates and rebrands multiple MDX docs to the "Kinde Management API": updates front-matter/sidebars, expands scope reference with grouped tables, streamlines token acquisition flows, adds a Postman guide and JS SDK page, and removes/merges older example/test-token pages.

Changes

Management API docs rebranding & consolidation

Layer / File(s) Summary
Frontmatter / Navigation
src/content/docs/developer-tools/kinde-api/*.mdx, src/data/sidebarData.ts
Multiple pages retitled to "Kinde Management API"; sidebar ordering/labels updated and items repositioned (moved "Special guides" after "Account API").
Scope reference / Data
src/content/docs/developer-tools/kinde-api/about-m2m-scopes.mdx
Front-matter updated; documents scope JWT claim as verb:resource; adds "Available scopes" grouped reference tables and revises the "Add or update scopes on an M2M application" workflow.
Core workflows — Token & Connection
src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx, src/content/docs/developer-tools/kinde-api/connect-to-kinde-api.mdx
access-token-for-api.mdx reorganized into explicit "Get an access token" and "Use the access token" steps, adds language Tabs, shows token response fields and decoded JWT claims, and documents the optional scope parameter; connect-to-kinde-api.mdx rewritten as a Quickstart with demo, dashboard test-token flow, sample responses, and next-step links.
New guidance
src/content/docs/developer-tools/kinde-api/call-the-api-postman.mdx
Adds a Postman walkthrough: environment variables, OAuth2 client-credentials configuration (including audience), obtaining/applying Bearer tokens, example GET /api/v1/users and POST /api/v1/user, troubleshooting, and next steps.
SDK examples
src/content/docs/developer-tools/kinde-api/management-api-js.mdx
New JS backend SDK page (@kinde/management-api-js): prerequisites, setup (env vars or init()), examples for listing users, fetching by ID, and creating a user, plus server-side-only warning.
Removals / Consolidation
src/content/docs/developer-tools/kinde-api/api-example-node.mdx, src/content/docs/developer-tools/kinde-api/kinde-api-test-token.mdx
Deleted standalone Node example and test-token pages; their guidance consolidated into updated token/connect docs and Postman guide.
Search / Troubleshooting / Rate limits tweaks
src/content/docs/developer-tools/kinde-api/search-users-via-api.mdx, src/content/docs/developer-tools/kinde-api/troubleshoot-kinde-api.mdx, src/content/docs/developer-tools/kinde-api/api-rate-limits.mdx
Updated front-matter and reorganized search filtering docs; troubleshooting page retitled to Management API; rate-limits page adds M2M token-counting explanation (one token per /oauth2/token request; reusing an access token does not count) and links to pricing.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐇 I hopped through lines of docs anew,
Scopes in tables, tidy and true.
Tokens, Postman, JS in a nest,
Pages pruned — the docs look their best.
A grateful thump — now off to rest.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: Kinde Management API section refresh' directly aligns with the PR's main objective of overhauling and restructuring the Management API documentation section.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tamal/update/management-api-docs-refresh

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 30, 2026

Deploying kinde-docs-preview with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8da5a4e
Status: ✅  Deploy successful!
Preview URL: https://8a0a0cbd.kinde-docs-preview.pages.dev
Branch Preview URL: https://tamal-update-management-api.kinde-docs-preview.pages.dev

View logs

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx`:
- Line 56: Replace the misspelled word "prefered" with "preferred" in the
user-facing instruction sentence that reads "Make a POST request to the
`https://<your_subdomain>.kinde.com/oauth2/token` endpoint using your prefered
programming language below:" in
src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx so the
sentence reads "using your preferred programming language below".

In `@src/content/docs/developer-tools/kinde-api/call-the-api-postman.mdx`:
- Line 107: The image tag currently has an empty alt attribute (alt=""); replace
it with a concise, descriptive alt text that conveys the instructional content
of the screenshot (e.g., "Postman Authorization tab showing token request
configuration: client credentials, token URL, and scope"), so screen readers
understand this step; locate the image occurrence with alt="" in
call-the-api-postman.mdx and update that alt string to the descriptive text.

In `@src/content/docs/developer-tools/kinde-api/connect-to-kinde-api.mdx`:
- Around line 52-55: The ordered-step numbering in the quickstart list is
non-sequential (the steps jump between numbers), so update the ordered list in
the "connect-to-kinde-api.mdx" quickstart section to use consecutive numbering
(e.g., 1., 2., 3., 4.) or switch to a single markdown ordered list that lets the
renderer auto-number; ensure the block containing "Go to your Kinde
dashboard..." and the subsequent "Give the application a name..." and "Select
Save" lines are renumbered to be consecutive and also check the later step
referenced around the same section (the step at 74) so all related ordered steps
flow sequentially.
- Line 40: Fix the wording in the lead sentence that currently reads "The Kinde
Management API let's you do everything you can do with the Kinde UI. It is
useful for pragmatically managing your Kinde account and resources such as use
in CI/CD pipelines." — change "let's" to the correct possessive/verb form "lets"
and replace "pragmatically" with "programmatically", and rephrase the tail for
clarity (e.g., "...programmatically managing your Kinde account and resources,
such as in CI/CD pipelines.") so the opening paragraph reads clearly and uses
correct terminology.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 5c37d836-75ab-4cea-afd7-7c4b5d41ce9a

📥 Commits

Reviewing files that changed from the base of the PR and between 3dcb900 and afa0258.

📒 Files selected for processing (9)
  • src/content/docs/developer-tools/kinde-api/about-m2m-scopes.mdx
  • src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx
  • src/content/docs/developer-tools/kinde-api/api-example-node.mdx
  • src/content/docs/developer-tools/kinde-api/api-rate-limits.mdx
  • src/content/docs/developer-tools/kinde-api/call-the-api-postman.mdx
  • src/content/docs/developer-tools/kinde-api/connect-to-kinde-api.mdx
  • src/content/docs/developer-tools/kinde-api/kinde-api-test-token.mdx
  • src/content/docs/developer-tools/kinde-api/search-users-via-api.mdx
  • src/content/docs/developer-tools/kinde-api/troubleshoot-kinde-api.mdx
💤 Files with no reviewable changes (2)
  • src/content/docs/developer-tools/kinde-api/api-example-node.mdx
  • src/content/docs/developer-tools/kinde-api/kinde-api-test-token.mdx

Comment thread src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx Outdated
Comment thread src/content/docs/developer-tools/kinde-api/call-the-api-postman.mdx Outdated
Comment thread src/content/docs/developer-tools/kinde-api/connect-to-kinde-api.mdx Outdated
Comment thread src/content/docs/developer-tools/kinde-api/connect-to-kinde-api.mdx
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/content/docs/developer-tools/kinde-api/about-m2m-scopes.mdx`:
- Line 60: Split the combined example into two distinct entries so each scope
has its own description: change the single line containing `read:roles` or
`update:roles` — manage roles into two bullets or lines — one for `read:roles`
with a concise read-only description (e.g., "view or list roles, read role
details") and one for `update:roles` with a concise write description (e.g.,
"create, update or delete roles / manage role assignments"); update the
surrounding list formatting to match existing bullets so each scope is clearly
separate and unambiguous.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: f660ce9b-0eb4-4148-b0c8-f9c4a4267670

📥 Commits

Reviewing files that changed from the base of the PR and between afa0258 and b8b1213.

📒 Files selected for processing (2)
  • src/content/docs/developer-tools/kinde-api/about-m2m-scopes.mdx
  • src/data/sidebarData.ts
✅ Files skipped from review due to trivial changes (1)
  • src/data/sidebarData.ts

Comment thread src/content/docs/developer-tools/kinde-api/about-m2m-scopes.mdx Outdated
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/content/docs/developer-tools/kinde-api/call-the-api-postman.mdx`:
- Around line 130-131: Update the POST request URL in the create-user step so it
uses the full domain variable instead of a relative path: replace "/api/v1/user"
with the full URL using the KINDE_DOMAIN variable (e.g.,
"{{KINDE_DOMAIN}}/api/v1/user") in the text that describes creating the request;
ensure the same variable format is used as in the earlier reference to
KINDE_DOMAIN to keep consistency with the instructions and Postman examples.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: ebbbfc7d-a6ca-4953-8746-b5381d83adc5

📥 Commits

Reviewing files that changed from the base of the PR and between b8b1213 and fca7351.

📒 Files selected for processing (1)
  • src/content/docs/developer-tools/kinde-api/call-the-api-postman.mdx

Comment thread src/content/docs/developer-tools/kinde-api/call-the-api-postman.mdx Outdated
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (5)
src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx (5)

109-135: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Go examples have unclosed string literals and use a deprecated package.

All four import paths (lines 110–113 and 400–402) and both url variable declarations (lines 118, 407) are missing their closing ", making every Go snippet a compile error.

Additionally, ioutil.ReadAll has been deprecated since Go 1.16; the replacement is io.ReadAll (import "io" instead of "io/ioutil").

🐛 Proposed fix (token example — apply the same pattern to the API-call tab)
 import (
-	"fmt
-	"strings
-	"net/http
-	"io/ioutil
+	"fmt"
+	"strings"
+	"net/http"
+	"io"
 )

 func main() {

-	url := "https://<your_subdomain>.kinde.com/oauth2/token
+	url := "https://<your_subdomain>.kinde.com/oauth2/token"

 	...
-	body, _ := ioutil.ReadAll(res.Body)
+	body, _ := io.ReadAll(res.Body)

Also applies to: 399-423

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx` around
lines 109 - 135, The Go snippets have unclosed string literals in the import
block and the url variable and use the deprecated ioutil.ReadAll; fix by closing
all missing double quotes in the import list and in the url assignments (the
variable named url), replace import "io/ioutil" with import "io" and update
ioutil.ReadAll(...) to io.ReadAll(...), and ensure the imports are a valid Go
import block and the POST request creation (http.NewRequest) and response
handling (defer res.Body.Close()) remain unchanged.

309-312: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Swift examples: httpMethod assignment is missing its closing ".

request.httpMethod = "POST (line 310) and request.httpMethod = "GET (line 587) are both unterminated string literals, making each Swift snippet a compile error.

🐛 Proposed fix
-request.httpMethod = "POST
+request.httpMethod = "POST"
-request.httpMethod = "GET
+request.httpMethod = "GET"

Also applies to: 585-589

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx` around
lines 309 - 312, The Swift snippets assign request.httpMethod using unterminated
string literals (e.g., request.httpMethod = "POST and request.httpMethod = "GET)
causing compile errors; fix by adding the missing closing quote on the
httpMethod assignments so they read request.httpMethod = "POST" and
request.httpMethod = "GET" in the examples (look for occurrences of
request.httpMethod in the affected code blocks and update both instances).

254-268: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Python examples are non-functional: empty hostname, wrong URL format in conn.request(), and an unclosed string.

Three distinct bugs affect both Python tabs:

  1. Empty hostname (lines 256, 534): HTTPSConnection should be instantiated by passing it a host — HTTPSConnection("") provides no host and will fail with a socket error.

  2. Full URL passed as path (lines 262, 541): HTTPConnection.request() takes the request URI url, and the provided URL must be an absolute path to conform with RFC 2616 §5.1.2 (e.g. /oauth2/token, not https://...). Passing a full URL constructs a malformed HTTP request line.

  3. Unclosed string literal (line 258): the payload string is missing its closing "SyntaxError.

🐛 Proposed fix (token example — apply same pattern to the API-call tab)
-conn = http.client.HTTPSConnection("")
+conn = http.client.HTTPSConnection("<your_subdomain>.kinde.com")

-payload = "grant_type=client_credentials&client_id=<your_m2m_client_id>&client_secret=<your_m2m_client_secret>&audience=https%3A%2F%2F<your_subdomain>.kinde.com%2Fapi
+payload = "grant_type=client_credentials&client_id=<your_m2m_client_id>&client_secret=<your_m2m_client_secret>&audience=https%3A%2F%2F<your_subdomain>.kinde.com%2Fapi"

 headers = { 'content-type': "application/x-www-form-urlencoded" }

-conn.request("POST", "https://<your_subdomain>.kinde.com/oauth2/token", payload, headers)
+conn.request("POST", "/oauth2/token", payload, headers)

For the GET tab (line 534, 541):

-conn = http.client.HTTPSConnection("")
+conn = http.client.HTTPSConnection("<your_subdomain>.kinde.com")

-conn.request("GET", "https://<your_subdomain>.kinde.com/api/v1/users", headers=headers)
+conn.request("GET", "/api/v1/users", headers=headers)

Also applies to: 531-547

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx` around
lines 254 - 268, The Python example is non-functional: fix the empty host in
HTTPSConnection (replace HTTPSConnection("") with
HTTPSConnection("<your_subdomain>.kinde.com")), close the missing quote on the
payload string (ensure payload = "grant_type=...&audience=..."), and pass a path
to conn.request rather than a full URL (use conn.request("POST",
"/oauth2/token", payload, headers)); apply the same corrections in the API-call
GET tab as well where conn.request and HTTPSConnection are used.

232-234: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

PHP examples: missing closing " in CURLOPT_HTTPHEADER array causes a parse error.

Line 233 ("content-type: application/x-www-form-urlencoded) and line 511 ("content-type: application/json) are both missing their closing double-quote, making each PHP snippet a fatal parse error.

🐛 Proposed fix
-    "content-type: application/x-www-form-urlencoded
+    "content-type: application/x-www-form-urlencoded"
-    "content-type: application/json
+    "content-type: application/json"

Also applies to: 509-512

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx` around
lines 232 - 234, The PHP snippets have unterminated header strings causing parse
errors: fix the CURLOPT_HTTPHEADER arrays by adding the missing closing
double-quote to the header entries (the strings starting with "content-type:
application/x-www-form-urlencoded and "content-type: application/json) so each
header item in the CURLOPT_HTTPHEADER array is a properly quoted string; update
both occurrences that use CURLOPT_HTTPHEADER to close the quotes.

282-291: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Ruby examples: VERIFY_NONE disables TLS verification (security risk) and the POST body string is unclosed.

OpenSSL::SSL::VERIFY_NONE on lines 283 and 562 turns off certificate validation entirely. Documentation examples that include this setting teach readers to ship insecure code; the line should be removed (Ruby's Net::HTTP uses VERIFY_PEER by default when use_ssl = true).

Line 287 also has a missing closing " on request.body = "...", causing a runtime SyntaxError.

🐛 Proposed fix (apply to both Ruby tabs)
 http = Net::HTTP.new(url.host, url.port)
 http.use_ssl = true
-http.verify_mode = OpenSSL::SSL::VERIFY_NONE
-request.body = "grant_type=client_credentials&client_id=<your_m2m_client_id>&client_secret=<your_m2m_client_secret>&audience=https%3A%2F%2F<your_subdomain>.kinde.com%2Fapi
+request.body = "grant_type=client_credentials&client_id=<your_m2m_client_id>&client_secret=<your_m2m_client_secret>&audience=https%3A%2F%2F<your_subdomain>.kinde.com%2Fapi"

Also applies to: 560-570

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx` around
lines 282 - 291, The Ruby examples disable TLS verification and contain an
unterminated string: remove the insecure assignment to OpenSSL::SSL::VERIFY_NONE
(do not set http.verify_mode; let Net::HTTP use VERIFY_PEER by default) wherever
it appears (reference OpenSSL::SSL::VERIFY_NONE and http.verify_mode in the Ruby
blocks), and fix the POST body string by closing the quotation for request.body
in the Net::HTTP::Post example (reference request.body and Net::HTTP::Post) so
the string is valid and the code no longer raises a SyntaxError; apply the same
two fixes to both Ruby code blocks mentioned.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx`:
- Around line 333-363: The two JWT examples are inconsistent: the raw token
response shows "scope": "" while the decoded JWT shows "scope": "create:users
read:users" and an empty "scp": []; update the examples to represent the same
scenario by populating the raw response "scope" with "create:users read:users"
and change the decoded JWT "scp" to ["create:users","read:users"] (or
alternatively add a brief clarifying sentence that the top block is a generic
empty-scope response and the decoded block is an example with granted scopes),
and ensure the fields "scope" and "scp" are consistent across the "access_token"
response and decoded JWT examples.

---

Outside diff comments:
In `@src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx`:
- Around line 109-135: The Go snippets have unclosed string literals in the
import block and the url variable and use the deprecated ioutil.ReadAll; fix by
closing all missing double quotes in the import list and in the url assignments
(the variable named url), replace import "io/ioutil" with import "io" and update
ioutil.ReadAll(...) to io.ReadAll(...), and ensure the imports are a valid Go
import block and the POST request creation (http.NewRequest) and response
handling (defer res.Body.Close()) remain unchanged.
- Around line 309-312: The Swift snippets assign request.httpMethod using
unterminated string literals (e.g., request.httpMethod = "POST and
request.httpMethod = "GET) causing compile errors; fix by adding the missing
closing quote on the httpMethod assignments so they read request.httpMethod =
"POST" and request.httpMethod = "GET" in the examples (look for occurrences of
request.httpMethod in the affected code blocks and update both instances).
- Around line 254-268: The Python example is non-functional: fix the empty host
in HTTPSConnection (replace HTTPSConnection("") with
HTTPSConnection("<your_subdomain>.kinde.com")), close the missing quote on the
payload string (ensure payload = "grant_type=...&audience=..."), and pass a path
to conn.request rather than a full URL (use conn.request("POST",
"/oauth2/token", payload, headers)); apply the same corrections in the API-call
GET tab as well where conn.request and HTTPSConnection are used.
- Around line 232-234: The PHP snippets have unterminated header strings causing
parse errors: fix the CURLOPT_HTTPHEADER arrays by adding the missing closing
double-quote to the header entries (the strings starting with "content-type:
application/x-www-form-urlencoded and "content-type: application/json) so each
header item in the CURLOPT_HTTPHEADER array is a properly quoted string; update
both occurrences that use CURLOPT_HTTPHEADER to close the quotes.
- Around line 282-291: The Ruby examples disable TLS verification and contain an
unterminated string: remove the insecure assignment to OpenSSL::SSL::VERIFY_NONE
(do not set http.verify_mode; let Net::HTTP use VERIFY_PEER by default) wherever
it appears (reference OpenSSL::SSL::VERIFY_NONE and http.verify_mode in the Ruby
blocks), and fix the POST body string by closing the quotation for request.body
in the Net::HTTP::Post example (reference request.body and Net::HTTP::Post) so
the string is valid and the code no longer raises a SyntaxError; apply the same
two fixes to both Ruby code blocks mentioned.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 2b776cb8-c90d-4649-9102-898a749920cf

📥 Commits

Reviewing files that changed from the base of the PR and between fca7351 and c932401.

📒 Files selected for processing (1)
  • src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx

Comment thread src/content/docs/developer-tools/kinde-api/access-token-for-api.mdx
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/content/docs/developer-tools/kinde-api/search-users-via-api.mdx`:
- Line 117: Update the inconsistent property key in the API example: replace
kp_user_city with the correct kp_usr_ prefix to match the other examples (e.g.,
kp_usr_last_name, kp_usr_industry, kp_usr_middle_name and the kp_usr_utm_source
pattern) so the GET example reads GET
/api/v1/search/users?query=*&properties[kp_usr_city]=Sydney; ensure only the
property key is changed and the rest of the example stays intact.
- Line 170: The doc line describing the active_since parameter currently links
to a CDISC article about ISO 8601 interval notation which is irrelevant for
datetime strings; update the hyperlink target used in the active_since
description to a developer-appropriate reference (for example RFC 3339 or the
ISO 8601 spec) that documents datetime string formats (e.g., use
https://tools.ietf.org/html/rfc3339 or the ISO page) while keeping the visible
text "ISO 8601 formatted date/time string" so readers land on authoritative
datetime format guidance rather than interval/clinical content.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 64ac3010-09de-45b0-81ec-26c707affb75

📥 Commits

Reviewing files that changed from the base of the PR and between c932401 and 16c6112.

📒 Files selected for processing (2)
  • src/content/docs/developer-tools/kinde-api/management-api-js.mdx
  • src/content/docs/developer-tools/kinde-api/search-users-via-api.mdx
✅ Files skipped from review due to trivial changes (1)
  • src/content/docs/developer-tools/kinde-api/management-api-js.mdx

Comment thread src/content/docs/developer-tools/kinde-api/search-users-via-api.mdx Outdated
Comment thread src/content/docs/developer-tools/kinde-api/search-users-via-api.mdx Outdated
@tamalchowdhury tamalchowdhury changed the title 🚧 Work in Progress: fix: Kinde Management API section refresh fix: Kinde Management API section refresh May 4, 2026
@tamalchowdhury tamalchowdhury requested a review from onderay May 4, 2026 15:49
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.

1 participant