Skip to content

Commit

Permalink
docs: identity traits are visible to user (#1621)
Browse files Browse the repository at this point in the history
Co-authored-by: hackerman <3372410+aeneasr@users.noreply.github.com>
  • Loading branch information
vinckr and aeneasr committed Aug 4, 2021
1 parent 3eb87bc commit 641eba6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/docs/concepts/identity-data-model.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,16 @@ switch (session.Identity.SchemaID) {
}
```

:::warning

Please keep in mind that the Identity Model is not a place to store sensitive
information that should not be visible to the end-user! Users can see traits and
other data - except credentials - using the `sessions/whoami` endpoint. The
Identity Model is not the right place to store data that should be obfuscated
from the user!

:::

## JSON Schema Vocabulary Extensions

Because Ory Kratos does not know that a particular field has a system-relevant
Expand Down
10 changes: 10 additions & 0 deletions docs/versioned_docs/version-v0.7/concepts/identity-data-model.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,16 @@ switch (session.Identity.SchemaID) {
}
```

:::warning

Please keep in mind that the Identity Model is not a place to store sensitive
information that should not be visible to the end-user! Users can see traits and
other data - except credentials - using the `/sessions/whoami` endpoint. The
Identity Model is not the right place to store data that should be obfuscated
from the user!

:::

## JSON Schema Vocabulary Extensions

Because Ory Kratos does not know that a particular field has a system-relevant
Expand Down

0 comments on commit 641eba6

Please sign in to comment.