Skip to content

Commit 0afae53

Browse files
committed
fix: links
1 parent b5974d4 commit 0afae53

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

src/content/docs/machine-to-machine-applications/m2m-application-setup/add-metadata-to-an-m2m-application-with-properties.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This is useful for:
1717
- Driving logic in downstream systems
1818
- Managing AI agent behavior
1919

20-
If you're looking to include properties inside tokens, see [Customize the contents of an M2M token](/machine-to-machine-applications/m2m-application-setup/m2m-token-customization/).
20+
If you're looking to include properties inside tokens, see [Customize the claims of an M2M token with properties](/machine-to-machine-applications/m2m-application-setup/add-metadata-to-an-m2m-application-with-properties/).
2121

2222
## Step 1 - Define your property
2323

src/content/docs/machine-to-machine-applications/m2m-token-customization/customize-m2m-tokens.mdx

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ relatedArticles:
1212
You can customize the claims of tokens issued to Machine-to-Machine (M2M) applications in Kinde by including selected **Properties** and **Feature Flags**. This allows you to inject structured metadata and configuration directly into the token, without requiring an additional lookup at runtime.
1313

1414
This is useful for:
15+
1516
- Routing or behavior changes based on metadata
1617
- Feature gating in backend systems
1718
- Configuring AI agents or other automation tools
@@ -22,6 +23,7 @@ This is useful for:
2223
2. Select the **Tokens** tab
2324

2425
From here you can:
26+
2527
- Set the token lifetime
2628
- Enable **Hasura-compatible mapping**
2729
- Opt to include scopes under a `permissions` claim
@@ -42,7 +44,7 @@ The value will appear in the token under a `application_properties` claim:
4244

4345
```json
4446
{
45-
"application_properties": {
47+
"application_properties": {
4648
"region": {
4749
"v": "eu"
4850
},
@@ -71,17 +73,18 @@ Example:
7173
```json
7274
{
7375
"feature_flags": {
74-
"new-ai-agent": {
75-
"t": "b",
76-
"v": true
77-
},
78-
"access-level": {
79-
"t": "s",
80-
"v": "beta"
81-
}
76+
"new-ai-agent": {
77+
"t": "b",
78+
"v": true
79+
},
80+
"access-level": {
81+
"t": "s",
82+
"v": "beta"
8283
}
84+
}
8385
}
8486
```
87+
8588
The `t` and `v` are short codes for the type and value of the feature flag.
8689

8790
- `t` = `type` (boolean, string, number)
@@ -100,7 +103,7 @@ Only the feature flags you explicitly toggle on will be included.
100103
For complete control over the token, you can use the [Kinde M2M token generation workflow](/machine-to-machine-applications/m2m-workflow-automation/m2m-workflow/) to customize the token further.
101104

102105
For example, you can:
106+
103107
- Add custom claims to the token
104108
- Add custom scopes to the token
105109
- Add custom metadata to the token
106-

0 commit comments

Comments
 (0)