# Account and security

How to manage your Youniton password, two-factor authentication, recovery codes, sessions and tokens, and how an Admin manages people, roles and sign-in rules.

**For:** Admin, Product manager, Developer, Viewer, Client guest

## Change your password

1. Open the account menu and select **Security**.

2. In the row Password, select **Change**.

3. Confirm who you are.

4. Type the new password.

   Result: All your other sessions end.

If you sign in with Google or Microsoft only, the row shows **Set a password**.

## Set up two-factor authentication

1. Open Account › Security.

2. Select **Set up** in the row of two-factor authentication.

3. Scan the QR code with your authenticator app, or type the setup key.

4. Type the 6-digit code from the app.

   Result: Two-factor authentication is on.

5. Copy or download your eight recovery codes.

   Result: Youniton shows the codes one time.

- **Manage** replaces your authenticator app with a new one.
- **Turn off** is available only when no workspace of yours makes two-factor authentication necessary.
- **View codes** shows how many recovery codes are left. **Regenerate codes** makes eight new codes and stops the old codes.

## If you do not have your phone

1. On the code page, select **Use a recovery code**.

2. Type one of your recovery codes.

   Result: You are signed in. The code cannot be used again.

If you have no recovery code, select **Lost your authenticator?** and follow the steps. The Admin of your workspace is told about the request.

## Your sign-in methods

Account › Security › Sign-in methods lists the ways that you sign in: your password, Google, Microsoft and single sign-on.

- **Link** adds Google or Microsoft. The e-mail of that account must be the same as your Youniton e-mail.
- **Unlink** removes a method. You cannot remove your last method.
- The row of single sign-on is managed by your workspace.

## Your sessions

1. Open Account › Sessions & apps.

2. Read the list **Active sessions**.

   Result: Each row shows the browser, the place and the time. "This device" is your current session.

3. Select **Sign out** on a session that you do not know.

4. Select **Sign out of all other sessions** if you are not sure.

   Result: The trusted devices are also cleared.

> *Illustration: Active sessions.* Chrome on macOS · This device · iPhone · Youniton app · 2h ago · Sign out

## Go to a different workspace

Select the tenant name in the header. The list shows your workspaces, with a mark on the current one. Select a workspace to open it.

## For the Admin: manage people

Administration › Members lists members, client guests and pending invitations, with the role, the teams, the status of two-factor authentication and the last activity.

1. Select **Manage** on the row of a person.

   Result: A side panel opens.

2. Change the role, the job title or the weekly capacity.

3. Select **Reset 2FA** when the person must set up a new authenticator.

4. Select **Remove from tenant** when the person leaves.

   Result: Youniton shows what the person owns, for example agents, before you confirm.

In Administration › Teams, **+ New team** makes a team. On a team, use **Add members**, and **Make lead** or **Remove from team** in the row menu.

## For the Admin: roles and access

1. Open Administration › Roles & access.

2. Select a role.

   Result: The editor shows the rules of the role as sentences, and the number of members with the role.

3. Change the rules.

   Result: Youniton keeps your changes as a draft.

4. Select **Save role**.

5. Read the effect on the members and confirm.

   Result: The new rules apply immediately to each person with the role.

**+ New role** makes a role from a template: **Agency client**, **Internal stakeholder**, **Contractor**, **Read-only auditor** or **Blank role**. You can also copy a role. The role Admin is locked. **Discard** removes your draft.

## For the Admin: the sign-in rules

Open Administration › Security & sign-in.

| Panel | What you set |
|---|---|
| Two-factor authentication | **Required for everyone**, **Required for admins** or **Optional**. The panel shows how many members are enrolled. |
| Sessions | The maximum length of a session and the idle time. **Sign everyone out** ends all sessions but yours. |
| API tokens | If members can make tokens, and the maximum life of a token. |
| Sign-in methods | The methods that the workspace permits: e-mail and password, Google, Microsoft and SAML single sign-on. |

> **Each change is recorded**
>
> Youniton writes an audit record for each change of a role, a member and a sign-in rule.

## Who can do what

| Role | What this role can do |
|---|---|
| Each person | Manages the person's own profile, password, two-factor authentication, sign-in methods and sessions. |
| Each member | Makes the member's own API tokens. |
| Product manager | Invites Developers, Viewers and clients into the projects of the person's own teams. |
| Admin | Invites and manages all people. Manages teams, roles and the sign-in rules. |
