Login & Authentication
With the login form, users must log in with their email address and a password to access your application. You can also make certain screens accessible to users who are not logged in.
There are several possibilities to insert an authentication form in your web or native application:
- Embed an existing form: if you have a website including an authentication system, you can display this login form using an iframe / web view via the Web component
- Create new form via Firebase: using the Authentication + Session Firebase component, you can easily set up a user database and display a login/sign up form in your application
- Use the SAML V2 single sign-on (SSO) system: if your company is equipped with this single sign-on system, it is easy to set it up to secure your application.
In this article
Embed an existing form
If you already have a website and a login form, it is possible to use this same form in the application to keep a unified user management.
To display this form, you need the
Web component. The web component allows you to display a content or a web page in your application via a webview/iframe. For a good 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, indicate the
URL of your web content.
💡More than just displaying this form, you can also interact with this web content to trigger events. In particular, it is interesting to expose the events "User connected" and "User disconnected" to set up the user path. This is possible thanks to the PandaBridge Javascript library and the creation of markers.
Create new form via Firebase
The
Authentication +
Session Firebase component makes it easy to create an authentication form, to manage a user database and to associate data to your users (score, access, progress). It will be useful if you don't have a user database or a connection form yet.
This Authentication component requires the creation of a Firebase account for its configuration and its use. The account creation is free.
SAML V2 single sign-on (SSO)
The single sign-on (SSO) system via SAML V2 allows to mutualize the authentication phase for users between several services and web applications. Deployed by IT departments in large companies, it allows them to keep control of their authentication portal and simplify the user experience.
It is possible to set up this authentication system for an application created by PandaSuite. This manual manipulation can be done by our team. Specifically, it allows an automatic redirection between the authentication portal and the application once the user is authenticated.