Skip to content
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

update user properties: zone_uuid → app_tid #428

Merged
merged 6 commits into from
Jan 13, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions guides/security/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,12 @@ All technical clients that have access to the application's XSUAA or IAS service

Depending on the configured [authentication](#prerequisite-authentication) strategy, CAP derives a *default set* of user claims containing the user's name, tenant and attributes:

| CAP User Property | XSUAA JWT Property | IAS JWT Property |
|---------------------|----------------------------------|-------------------------|
| `$user` | `user_name` | `sub` |
| `$user.tenant` | `zid` | `zone_uuid` |
| `$user.<attribute>` | `xs.user.attributes.<attribute>` | All non-meta attributes |
| CAP User Property | XSUAA JWT Property | IAS JWT Property |
|---------------------|----------------------------------------------|-------------------------|
| `$user` | `user_name` | `sub` |
| `$user.id` | `user_id` for Java / `user_name` for Node.js | `scim_id` |
sjvans marked this conversation as resolved.
Show resolved Hide resolved
| `$user.tenant` | `zid` | `app_tid` |
| `$user.<attribute>` | `xs.user.attributes.<attribute>` | All non-meta attributes |

::: tip
CAP does not make any assumptions on the presented claims given in the token. String values are copied as they are.
Expand Down
Loading