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

# Authentication

Let visitors sign in with their existing work account.

By default visitors sign in with a password they set when they registered. **Authentication** lets them use an account they already have instead — fewer passwords for them, and no separate list of credentials for you.

*Configure login methods and identity provider settings for this portal.*

## Google login

Turn on **Allow Google login** and visitors get a **Sign in with Google** option on the sign-in page.

**Restrict to Workspace domain** limits it to one organisation's accounts — enter a domain such as `company.com`. Leave it empty to allow any Google account; set it, and anyone signing in with an address outside that domain is turned away with *Only {{domain}} accounts are allowed.*

This is the simplest way to open a Portal to a whole company without inviting people one by one.

## Good to know

* Google login sits alongside passwords rather than replacing them — a visitor can still sign in the ordinary way.
* A restriction decides who **may** sign in, not who **has** access — the Portal's [access settings](https://docs.scaleflex.com/portals/portal-settings/access.md) still apply.
* Someone whose account has no access sees *Your account does not have access to this portal.*
