@@ -29,7 +29,7 @@ This helps simplify migrations, reduce mapping layers, and align Kratos with you
29
29
30
30
## Configuration
31
31
32
- ### 1. Use ` external_id ` via api , not schema
32
+ ### 1. Use ` external_id ` via API , not schema
33
33
34
34
The ` external_id ` is ** not** part of the identity JSON Schema. Instead, it is a dedicated top-level attribute in API requests that
35
35
create or update identities.
@@ -40,7 +40,7 @@ Do not add `external_id` to your identity schema definition. It is handled separ
40
40
41
41
:::
42
42
43
- ### 2. Use ` external_id ` in jwt ` sub ` claim
43
+ ### 2. Use ` external_id ` in JWT ` sub ` claim
44
44
45
45
Set the ` subject_source ` to ` external_id ` in the tokenization config:
46
46
@@ -123,7 +123,7 @@ GET /admin/identities/by/external/customer-12345?include_credential=password
123
123
:::note
124
124
125
125
There are no other APIs that support `external_id`, for the APIs that require a Kratos `identity_id` you need to use the
126
- ` Get identity by external id ` API above and use the identity id from there.
126
+ [ Get identity by external_id](#get-identity-by-external_id) API above and use the identity id from there.
127
127
128
128
:: :
129
129
@@ -170,7 +170,7 @@ To migrate from an existing system, you can bulk import identities into Kratos a
170
170
171
171
# ## Use `PATCH /admin/identities`
172
172
173
- # ### Example: Basic import
173
+ # ### Basic import example
174
174
175
175
` ` ` json
176
176
[
@@ -184,7 +184,7 @@ To migrate from an existing system, you can bulk import identities into Kratos a
184
184
]
185
185
` ` `
186
186
187
- # ### Example: With pre -hashed password
187
+ # ### Pre -hashed password example
188
188
189
189
` ` ` json
190
190
[
0 commit comments