> For the complete documentation index, see [llms.txt](https://docs.1kosmos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1kosmos.com/authentication/admin-portal/settings/1kosmos-attributes.md).

# 1Kosmos Attributes

***

### Overview

Passwordless login for SAML applications works best when the target app knows enough about the user to authorize them correctly. Some service providers need only a simple profile (username, email); others expect richer user data.&#x20;

There are two types of attributes:

* **Session attributes** — managed by the community administrator
* **Ledger attributes** — managed by 1Kosmos

### Session attributes

You're mapped by default with `firstname`, `lastname`, `status`, `username`, `email`, and `phone`. Add any other user attributes needed to identify the user.

To view the user profile, create an attribute called `uid` and map it to the LDAP directory attribute named `uid`. See[ LDAP Directory Integration ](/authentication/authentication-proxy/ldap-setup.md)for how to map 1Kosmos attributes to directory attributes.

{% hint style="info" %}
**Note:** As a second step, these attributes must be mapped to directory attributes so the system knows where to pick up their values.
{% endhint %}

**Add a session attribute:**

1. Log in to your tenant as a community administrator.
2. Navigate to **Settings > 1Kosmos Attributes**.
3. Click **Add new**.
4. In the **Create Attribute** window, enter the attribute name and click **Create**. A *1Kosmos attribute created successfully* message confirms it, and the new attribute appears in the list.

**Delete a session attribute:**

1. On the **1Kosmos Attributes** screen, click the **Delete** icon for the attribute.
2. In the confirmation dialog, click **Delete**. A *1Kosmos attribute deleted successfully* message confirms the removal.

### Ledger attributes

Ledger attributes are managed by 1Kosmos and limited to five. When available, they can be returned as part of the SAML response:

* `device_info` — device information
* `dl` — driver's license
* `aal` — authentication assurance level
* `ial` — identity assurance level
* `ppt` — passport


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.1kosmos.com/authentication/admin-portal/settings/1kosmos-attributes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
