> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cloud/membership/settings.md).

# Settings

How sign-up, sign-in, account closing and communication preferences work for the users of your project.

**Where:** Membership → Settings · `/projects/<project>/membership/settings#<tab>`

**Membership Settings** decides how users get in, how they sign in, how they close their account and which topics they can subscribe to. The screen has five tabs; the open tab is kept in the address (`#onboarding`, `#authentication`, `#account`, `#communication`, `#advanced`). Older links such as `#registration`, `#passkey` or `#deactivation` still open the tab that holds that part now.

<figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-c81a0bb3f9201ec23be90442ff234e53d7cf4681%2Fsettings-onboarding-1.png?alt=media" alt="Membership Settings, Onboarding tab: the tabs Onboarding, Authentication, Account, Communication, Advanced and the Registration block"><figcaption><p>Membership Settings, Onboarding tab.</p></figcaption></figure>

## Columns, search and filters

| Tab                                                                     | What it holds                                                                                                      |
| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| [Onboarding](/codemash/cloud/membership/settings/onboarding.md)         | Registration rules and default roles, password rules and reset, invitation and verification emails, custom fields. |
| [Authentication](/codemash/cloud/membership/settings/authentication.md) | Logout addresses and passkey sign-in.                                                                              |
| [Account](/codemash/cloud/membership/settings/account.md)               | The email flow to close (deactivate) an account.                                                                   |
| [Communication](/codemash/cloud/membership/settings/communication.md)   | The topics (groups and tags) users can subscribe to or block.                                                      |
| [Advanced](/codemash/cloud/membership/settings/advanced.md)             | Disable the Membership module.                                                                                     |

Most rows have a **Change** link that opens a small dialog with **Cancel** and **Submit**; switches save at once. Rows that send email need the Email module; while it is off they show *This setting needs the Email module* with **Enable Email module →**.

## What you can do here

* [Change the onboarding settings](/codemash/cloud/membership/settings/onboarding.md)
* [Change the authentication settings](/codemash/cloud/membership/settings/authentication.md)
* [Change the account settings](/codemash/cloud/membership/settings/account.md)
* [Change the communication preferences](/codemash/cloud/membership/settings/communication.md)
* [Disable the module](/codemash/cloud/membership/settings/advanced.md)

## Do it from code

```ts
const { result } = await norbix.hub.membership.getAuthorizationSettings();
console.log(result.userRegistersAsRole, result.invitationExpiration, result.passwordComplexity);
// authenticated 1440 { minLength: 10, maxLength: 100, minNumbers: 1, minUpper: 1, minLower: 1 }
```

```sh
norbix hub membership authorization settings get
```

The client setup is on the [Membership page](/codemash/cloud/membership.md#use-it-from-code). API: [Get Authorization Settings](/codemash/api-reference/membership/settings/get-authorization-settings.md) · [Get Authentication Settings](/codemash/api-reference/membership/settings/get-authentication-settings.md)
