Skip to main content

Backendless - Authentication

Allows you to manage the user authentication on Backendless


How to Intall Backendless for Authentication?

The process of Backendless Auth installation involves some simple steps which we have covered in depth. First, we will use an API key from a Backendless account to install the Backendless Auth plugin and then we will test how the authentication via Backendless works.


1. Go to Plugins

Go to the left toolbar and click on the Plugins options. It will redirect you to the Plugins page that contains all the plugins.

DrapCode Builder Backendless Auth

2. Click the Install Button

After landing on the plugins page, scroll down and find the Backendless plugin. Then, click on the Install button.

DrapCode Builder Backendless Auth

3. Plugin Settings

As you click on the install button, you will be redirected to the plugin settings of Backendless. Now get the app ID from your Backendless account.

DrapCode Builder Backendless Auth

4. Login to Your Backendless Account

To install Backendless, the app ID is mandatory. So, go to Backendless's official website and login to your Backendless account.

DrapCode Builder Backendless Auth

5. Copy the Application ID

After logging in to your Backendless account, you will land on your dashboard where you will find the required app ID and REST API key. To copy the application ID, click the icon as shown below.

DrapCode Builder Backendless Auth

6. Paste the Application ID

Now go back to the builder and paste the copied Application ID in the App ID field of the plugin installation form.

DrapCode Builder Backendless Auth

7. Copy the REST API Key

Scroll down and find the REST API Key. Then, copy it by clicking on the icon, as shown below.

DrapCode Builder Backendless Auth

8. Paste the REST API Key

Now go back to the builder and paste the copied Rest API Key in the REST API ID field of the plugin installation form. Then, click on the Install Plugin button.

DrapCode Builder Backendless Auth

The installed plugin will appear on the plugins page after the successful installation.

DrapCode Builder Backendless Auth

Pages, Collections & Events Added with Plugin Installation

Signup & Login Pages

Once you have successfully installed the plugin, refresh the page and go to the pages panel in the left toolbar. You will find two new pages: Backendless Signup/Register & Backendless Login

DrapCode Builder Backendless Auth

Role & User Collections

Along with pages, two collections will also get added in your collection panel. The role collection allows you to add different user and admin roles. The user collection will contain all the data of users who have signed up.

DrapCode Builder Backendless Auth

Signup & Login Events

The workflow events to signup and login get added as well.

DrapCode Builder Backendless Auth

Execution/Outcome

Here are two scenarios. First, you can signup via web app and the signup credentials will appear in your Backendless account. Second, create user credentials directly on the Backendless account and then use them to login the web app.


Sign Up via Web App

1. Signup/Register

Now open the sign up page in preview or publish mode and create a user and use those credentials to login.

DrapCode Builder Backendless Auth

2. Login to Web App

Afer signing up, use those credentials to login to your web app as shown below.

DrapCode Builder Backendless Auth

3. Open Data Page on Backendless

Go to your Backendless account and cick on Data in the sidebar as shown below.

DrapCode Builder Backendless Auth

4. Added User on Backendless Account

The credentials you had created via sign up will appear on the page as shown below.

DrapCode Builder Backendless Auth

Sign Up via Backendless

1. Click the New Button

Go to your Backendless account and open the Data page. Then, click the New button on Users page under Authentication on the Backendless Account.

DrapCode Builder Backendless Auth

2. Add Email Address

As you click on the "New" button, a row to add a new user will open. Add the email address and press as shown below.

DrapCode Builder Backendless Auth

3. Add Password

As you press Enter after adding the email address, you will be redirected to the password cell. So add the password and press Enter.

DrapCode Builder Backendless Auth

The newly added user will appear on the data page as shown below:

DrapCode Builder Backendless Auth

4. Login Using New Credentials

Go to your web app's Firebase login page and add the newly created credentials to log into your web app.

DrapCode Builder Backendless Auth