# Login and Authentication

Appfarm comes with a built-in Login page and Authentication options, as well as the possibility to configure your own login and sign-up pages, as well as adding third-party Authentication options such as Microsoft Entra ID (Azure AD).

This topic is all about these possibilities.

### Login Configuration

Login configuration is done from the Login menu in Appfarm Create. You may read more on the settings and possibilities below.

**Article**:

* [Login](https://docs.appfarm.io/reference/configuration/login)

### Third-party Authentication / Custom Auth Providers

Appfarm supports third-party authentication by integrating with authentication providers using OAuth 2.0. You can read about the settings and find a step-by-step guide on a few use cases below.

**Article**:

* [Custom auth providers](https://docs.appfarm.io/reference/configuration/login/custom-auth-providers)
* [Implement third-party authentication](https://docs.appfarm.io/how-to/authentication-and-access-control/third-party-authentication)

### Custom Login App

You may implement your own login app using an [Unauthenticated App](https://docs.appfarm.io/how-to/authentication-and-access-control/unauthenticated-access) in combination with the Action Node [Auth Operations](https://docs.appfarm.io/library/action-nodes/auth-operations). Auth Operations are used for the built-in login methods, whereas you may use the [Open URL](https://docs.appfarm.io/library/action-nodes/open-url) action node for logging in with custom login methods (see the URL defined [here](https://docs.appfarm.io/reference/configuration/login#custom-auth)).

You may also redirect users to this App by default when they are not logged in, using the *Default App* setting in [Environment Config](https://docs.appfarm.io/reference/configuration/environments#other).

Custom Login Apps may also be a combined Self Sign-Up and Login app. You have full flexibility to define the functionality and design of this App.&#x20;

For a multi-tenant solution, you may even offer different login pages per tenant, by using [URL parameters](https://docs.appfarm.io/reference/apps/data#url-parameters) (one parameter per tenant) or different Views per tenant - and distribute a unique URL for login to each tenant.&#x20;

**Example in Showroom:**

* [Sign-up and Login App](https://showroom.appfarm.app/sign-up)
