# Setting: `sso_allowed_email_domains`

- **Constant:** `ConfigInterface::SSO_ALLOWED_EMAIL_DOMAINS`
- **Category:** `oauth`
- **Type:** `text`
- **Required:** no
- **Sensitive:** no
- **Validation:** `string|max:2048`
- **Placeholder / default hint:** `-`

## Description

Comma separated email domains allowed to sign in or register through Google, GitHub or OIDC (for example example.com, corp.example.org). Leave empty to allow any domain.

## Allowed options

_Free-form / no fixed options_

## Change via CLI

```bash
featherpanel saas getsetting sso_allowed_email_domains
featherpanel saas setsetting sso_allowed_email_domains "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "sso_allowed_email_domains": "<value>" }
```
