# User authentication methods for your app

> Discover how to integrate various authentication systems in your PandaSuite application, including using SSO, Firebase, or existing systems to manage user access effectively.

https://docs.pandasuite.com/essentials/data/user-authentication-methods-for-your-app/

**In an application, authentication is essential for managing user access. PandaSuite offers various ways to integrate an authentication system tailored to your needs, whether with SSO, a custom form, or a Firebase-based system.**

There are several options for authenticating users in your web or native application:

- **Integrate an existing form**: If you have a website with an authentication system, you can display this form using an iframe/web view via the [Web component](https://docs.pandasuite.com/essentials/components/web/).
- **Create a Firebase-based authentication flow**: Firebase is a simple and powerful solution for managing authentication with a ready-to-use form or a custom headless journey.
- **Use the [Single Sign-On (SSO)](https://docs.pandasuite.com/account/security/implement-sso-authentication-with-saml-v2/) system**: If your company uses an identity provider (IdP), you can use SSO to secure your application.

## Integrate an existing form

If you already have a website and an authentication form, it is possible to use this same form in the application to maintain unified user management.

To display this form, you need the [Web component](https://docs.pandasuite.com/essentials/components/web/). The Web component allows you to display web content or a webpage in your application via a webview/iframe. For proper integration, it will be necessary to prepare a mobile view of this form that removes unnecessary elements (menu, footer, etc.) from the page.

Insert a **Web** component and in the **Properties** window, enter the **URL** of your web content.

> **Info**
>
> Beyond displaying this form, you can also interact with this web content to
> trigger events. It is particularly useful to expose the events **User
> connected** and **User disconnected** to set up the user journey. This is
> possible thanks to the [PandaBridge JavaScript
> library](https://docs.pandasuite.com/essentials/components/custom-components/) and the creation
> of markers.

## Create a Firebase-based authentication flow

Firebase is a simple and powerful solution for managing authentication. With PandaSuite, you can use Firebase in two ways:

- **Use only the [Firebase Session](https://docs.pandasuite.com/essentials/components/firebase-session/) component**: Choose this for headless flows. The component manages authentication in the background while you create the interface with a [Text Input](https://docs.pandasuite.com/essentials/components/text-input/), buttons, and text.
- **Combine Firebase Session with the [Authentication](https://docs.pandasuite.com/essentials/components/authentication/) component**: Choose this for a turnkey email/password solution. The **Authentication** component offers a ready-to-use visual interface with registration and login forms.

The **Firebase Session** component requires the creation of a [Firebase](https://firebase.google.com/) account for its configuration and use. The account creation is free.

[Image: Example login screen using Firebase Session: email and password fields, a sign-in button and a sign-up link]

## Single Sign-On (SSO)

The [Single Sign-On (SSO)](https://docs.pandasuite.com/account/security/implement-sso-authentication-with-saml-v2/) system allows for shared authentication across multiple services and web applications, using **SAML v2** or **OpenID Connect (OIDC)**.

Deployed by IT departments in large companies, it enables them to maintain control over their authentication portal and simplify the user experience.

For a web app / PWA, you can configure SSO directly from your application **Security** settings. For a native application, please contact our team.
