Alternative login options

While vcita's login page covers most use cases for users' login, we understand that partners may want to have their own login page or have vcita's login page customized to their needs.
Therefore, vcita offers several options for customizing your login page.



As each integration and partner has its own specific requirements, we recommend contacting vcita for additional guidance when configuring your custom login page and we will be happy to assist with the process.
For more information, please contact your dedicated success manager at vcita.

Option 1. Customize vcita's login page

This is the simplest approach for customizing your login page.
With this method, you'll use vcita's login page configured with your custom domain and branding colors.

What is required?

  1. Purchase a domain for your custom login page (or create a dedicated new sub-domain if you already have a domain)
  2. Send vcita that domain
  3. vcita will grant you a dedicated URL that you'll need to add as a CNAME record with your hosting service provider.
  4. That's it! We will take care of the rest and make sure to have the login page use your domain and your directory branding colors.
    (If you don't have branding colors configured for your directory we can do that as well at the same time)

For further assistance, please contact your dedicated success manager at vcita.


Option 2. Using custom login page

We understand that on some occasions you may prefer having your own login page rather than using vcita's one.
This can be helpful if your company has multiple services and products living under one website, and you want to have a global login page to your website and manage the login to each one of the products separately.

It may also be the case that you need users to enter additional information upon login apart from email and password, and need to build your own custom login page to support these additional parameters.

Using vcita's SSO you can accomplish these goals!

How will it work?

Using your own custom login page means that you should also manage user identities on your end. In other words - you should maintain a database and a mapping of all users, so you can tell based on the user id - which business id on vcita the user is associated with, and what's the user id on vcita. These are required for the SSO flow.

Later in this guide ("Keeping track of user/staff events"), it'll be explained how you can get the business ID and staff ID of each user, and also get notified when a new user is created or deleted on vcita, so you can update your DB accordingly.

Using vcita's SSO capabilities described in this guide, you can log users into vcita only using their staff id and corresponding business id

The flow will usually be as follows:

  1. User logging in via the custom login page
  2. Depending on your business model, users may need to be redirected to an existing system from which they can later log in to vcita (among other products you may be offering), or maybe redirected instantly to vcita following the log-in.
  3. Either way, when the user logs in, you need to be able to have a mapping of this user, and know its corresponding staff id and business id on vcita. These two - staff id and business id - are necessary for the SSO process.
  4. When you want to log the user into vcita, you'll need to follow the SSO process explained here.
  5. The SSO is seamless and occurs without the user needing to enter any info. In fact, the user doesn't need to even know that he's being redirected between systems, as it all happens programmatically.

Keeping track of user/staff events

In order to keep track of when new users are created, or deleted and get the relevant user info among these events, you may want to subscribe to the דstaff webhookד, so you can get notified upon each staff-related event.
These webhooks will send the user (staff) info to your designated endpoint, containing all the information related to the staff, including its id and corresponding business id.

For additional info regarding the staff webhook, please refer to this guide.