# 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](/reference/configuration/login.md)

### 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](/reference/configuration/login/custom-auth-providers.md)
* [Implement third-party authentication](/how-to/authentication-and-access-control/third-party-authentication.md)

### Custom Login App

You may implement your own login app using an [Unauthenticated App](/how-to/authentication-and-access-control/unauthenticated-access.md) in combination with the Action Node [Auth Operations](/library/action-nodes/auth-operations.md). Auth Operations are used for the built-in login methods, whereas you may use the [Open URL](/library/action-nodes/open-url.md) action node for logging in with custom login methods (see the URL defined [here](/reference/configuration/login.md#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](/reference/configuration/environments.md#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](/reference/apps/data.md#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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appfarm.io/appcademy/appfarm-professional/login-and-configuration/login-and-authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
