-
Notifications
You must be signed in to change notification settings - Fork 50
fix: 1. App keys, 2. Rotate client secret, 3. API key errors page(s) update #733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tamalchowdhury
wants to merge
4
commits into
main
Choose a base branch
from
tamal/update/trending-pages-update
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+252
−208
Open
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
58 changes: 38 additions & 20 deletions
58
src/content/docs/build/applications/rotate-client-secret.mdx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,47 +1,65 @@ | ||
| --- | ||
| page_id: 8f6af95a-14ef-436d-862f-bfa82e836558 | ||
| title: Rotate client secret | ||
| title: Rotate client secret for your application | ||
| description: Security guide for rotating client secrets in backend and machine-to-machine applications including step-by-step rotation process and dependency management. | ||
| sidebar: | ||
| order: 4 | ||
| label: Rotate client secret | ||
| tableOfContents: | ||
| maxHeadingLevel: 3 | ||
| relatedArticles: | ||
| - 6c70b7ae-1b1b-43bb-bea1-9b3ec88dd082 | ||
| - 38d2394f-f064-47a1-89d0-078597b78412 | ||
| topics: | ||
| - applications | ||
| - security | ||
| - authentication | ||
| sdk: [] | ||
| languages: [] | ||
| audience: developers | ||
| complexity: intermediate | ||
| keywords: | ||
| - client secret rotation | ||
| - security | ||
| - backend apps | ||
| - M2M apps | ||
| - rotate client secret | ||
| - backend application security | ||
| - M2M application security | ||
| - machine to machine apps | ||
| - secret management | ||
| updated: 2024-01-15 | ||
| - Kinde client secret | ||
| - credential rotation | ||
| - application security | ||
| updated: 2026-05-13 | ||
| featured: false | ||
| deprecated: false | ||
| ai_summary: Security guide for rotating client secrets in backend and machine-to-machine applications including step-by-step rotation process and dependency management. | ||
| ai_summary: "This page explains how to rotate the client secret for backend and machine-to-machine (M2M) applications in Kinde. Rotating a client secret involves completely deactivating the old secret, so all dependent apps, connections, and services must be updated with the new secret immediately. The guide covers the step-by-step process: navigating to the application details in the Kinde dashboard, accessing the Admin actions section, and selecting Rotate. Users on paid plans can retain the previous client secret temporarily using the Maintain previous secret toggle, giving time to update dependencies before deleting the old secret. Once the previous secret is deleted, a new rotation can be performed. Client secret rotation is only available for back-end and machine-to-machine applications." | ||
| --- | ||
|
|
||
| To ensure your applications remain secure, you can periodically rotate the Client secret stored in the Kinde-side application. | ||
| To ensure your applications remain secure, you can periodically rotate the client secret stored in the Kinde-side application. | ||
|
|
||
| You can only do this for back-end and machine-to-machine applications. | ||
| You can only rotate client secrets for: | ||
| - Back-end applications | ||
| - Machine to Machine (M2M) applications | ||
|
|
||
| Note that you can only rotate a client secret by completely deactivating the old one. So you must update any dependent apps, connections, and services with the new secret ASAP. | ||
| <Aside> | ||
| You can only rotate a client secret by completely deactivating the old one. You must update any dependent apps, connections, and services with the new secret immediately. | ||
| </Aside> | ||
|
|
||
| ## Rotate client secret in Kinde | ||
|
|
||
| 1. In Kinde, go to **Settings > Applications**. | ||
| 2. Select **View details** on the relevant application. | ||
| 3. Scroll to the **Admin actions** section. | ||
| 4. If you have previously retained a Client secret you’ll need to delete the previous secret first: | ||
| 1. Take a copy of the previous secret if you want to. | ||
| 2. Select **Delete previous client secret.** | ||
| 5. Select **Rotate**. A confirmation window opens. | ||
| 6. If you want, opt in to rotate the client secret and retain the old secret. You may need to [upgrade plans](https://kinde.com/pricing/) to do this. | ||
| 7. If you don’t want to retain the previous secret, or you don’t want to upgrade, leave the switch off. | ||
| 8. Select **Rotate client secret**. | ||
| 9. Update any dependent apps, connections, and services with the new secret. | ||
| 1. Go to your Kinde dashboard and select **View details** on the application you want to rotate the client secret for. | ||
| 2. Go to **Details** > scroll to the **Admin actions** section. | ||
| 3. Select **Rotate**. A confirmation window opens. | ||
|
|
||
| If you want to retain the previous client secret, enable the **Maintain previous secret** toggle. | ||
| <Aside type="upgrade"> | ||
| You will need a paid plan to retain the previous client secret. See [Kinde pricing](https://kinde.com/pricing/). | ||
| </Aside> | ||
| 4. Select **Rotate client secret**. | ||
|
|
||
| ## Maintaining the previous client secret | ||
|
|
||
| If you kept the previous client secret, you will have options to **copy** or **delete** the previous client secret. | ||
|
|
||
| 1. Select **Delete previous client secret** before you can rotate to a new client secret. | ||
|
|
||
|  | ||
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.