Skip to main content

Single sign-on (SSO) with Microsoft Entra ID, Google and Okta

Let your team sign in to Vainu with Microsoft Entra ID, Google or Okta, and control who can join automatically.

📍 Microsoft Entra ID was previously called Microsoft Azure Active Directory. The functionalities are for our purposes the same, even if the name has changed.

How can I enable Single Sign-On? 🛠

Admin users can control how your team signs in to Vainu with single sign-on (SSO). Vainu supports Microsoft Entra ID, Google and Okta.

Single sign-on on the new platform (vainu.app)

This section covers the new platform (vainu.app). For the legacy platform (app.vainu.io), see the last section of this article.

Open the single sign-on settings

Only admin users can open this page.

  1. Click your account name at the bottom of the left menu.

  2. Click Settings.

  3. In the Categories list, click Single sign-on.

Vainu account menu open at the bottom of the left menu, with Settings highlighted by a red box and arrow

The page has three cards: Allowed login methods, Signing up with a password and Automatic joining.

Single sign-on settings page with the Allowed login methods toggles for Microsoft Entra ID (Azure AD), Google and Okta, the Signing up with a password card, and the Automatic joining card for Microsoft Entra ID

Choose which login methods are allowed

Under Allowed login methods, turn Microsoft Entra ID (Azure AD), Google and Okta on or off. Members can only sign in with the methods that are on.

Vainu protects you from locking yourself out:

  • You can't turn off the method you are currently signed in with.

  • At least one login method must stay on.

After a change is saved, the message “SSO settings updated” appears. The exact messages for blocked changes are listed in “Messages you may see” below.

Stop new members from signing up with a password

Under Signing up with a password, turn off Allow password sign-up so new members can only join with single sign-on. Existing members can always sign in with the password they already have. Turning the option off only stops new members from creating one.

You can turn the option off only when:

  • you are signed in with single sign-on, not with a password, and

  • at least one single sign-on method is on under Allowed login methods.

Let people join automatically

With automatic joining, people from your organization join Vainu when they sign in with SSO, without a separate invite from an admin. Each provider has its own Automatic joining card. To manage a card, you need to be signed in with that provider.

Provider

Who can join automatically

What you manage on the card

Microsoft Entra ID (Azure AD)

Users from the allowed Microsoft Entra (Azure AD) tenants

Allowed tenants (tenant IDs) and an optional Email domain filter

Google

Users from the allowed Google hosted domains

The list of Google hosted domains

Okta

Users from the allowed Okta organizations

The list of Okta organizations

Add your own organization

When you are signed in with a provider, its card shows which organization you are signed in from. Click Allow my organization to join automatically to add it. If it is already added, the card tells you so.

You can only add the organization you are currently signed in with. When you remove an organization, Vainu warns that you will not be able to add it back.

If your sign-in does not identify an organization of its own, there is nothing to add. This can happen with a personal Google account or a guest account in Microsoft Entra ID.

Limit Microsoft Entra ID joining by email domain

The Email domain filter on the Entra card is optional. When it is set, a user must belong to an allowed tenant and have a matching email domain to join automatically.

  1. Under Email domain filter, type a domain, for example example.com.

  2. Click Add.

If no domain is set, the card says: “Any email domain is currently allowed. Add at least one email domain to apply the filter.”

⚠️ If you remove the last email domain, anyone in the allowed tenants can join automatically. Vainu shows a warning before it removes the domain.

How to sign in with SSO on the new platform

💡 It is a good idea to share this section with new Vainu users in your organization. Copy the relevant parts, or share the link to this section.

On the login page of vainu.app, click Sign in with Microsoft or Sign in with Google. Both buttons are below the Log in button, under the OR divider. Then sign in with your provider credentials instead of a regular Vainu account.

Vainu login page with email and password fields, a Log in button, and Sign in with Microsoft and Sign in with Google buttons

Messages you may see

These are the exact messages on the Single sign-on page.

Message

What it means and what to do

“You can't remove the method you're currently signed in with — it would lock you out.”

You tried to turn off the login method you used to sign in. Sign in with another allowed method first, or ask another admin to change it.

“At least one login method must stay allowed.”

You tried to turn off the last login method. Turn on another method before turning this one off.

“You're signed in with a password. Sign in with single sign-on to turn this off.”

You can only turn off Allow password sign-up when you are signed in with SSO. Sign out, sign in with an SSO method, and try again.

“Allow at least one single sign-on method before turning off password sign-up.”

Turn on at least one method under Allowed login methods, then turn off Allow password sign-up.

“Sign in with your single sign-on provider to manage automatic joining.”

You can only manage a provider's Automatic joining card when you are signed in with that provider.

“Your sign-in doesn't identify an organization of your own, so there's nothing to allow here.”

The account you signed in with has no organization to add. Sign in with a work account from your organization's provider.

“Failed to update SSO settings”

The change was not saved. Try again, and contact Vainu Support if it keeps failing.

Legacy platform (app.vainu.io)

This section covers the legacy platform (app.vainu.io). If you are on the new platform, see the sections above.

Enable Microsoft Entra ID SSO on the legacy platform (app.vainu.io)

All admin users can enable Microsoft Entra ID SSO for their organization through Vainu settings. Enabling SSO login is done through the Team & Privileges menu which is introduced in more detail here. You can also follow this direct link to the page.

Screenshot 2019-11-07 at 15.09.52
  1. Once there, navigate to the last section on the page titled Microsoft sign in.

  2. Click the Sign in with Microsoft button to log in with your Microsoft credentials.

  3. Once you are signed in, you can Enable Vainu for everyone in your organization.

Screenshot 2019-11-07 at 15.22.35

What does it mean to enable Vainu for everyone in my organization (app.vainu.io)?

Enabling this feature allows any user in your Microsoft environment to log in to Vainu. They do not need a separate invite and can access Vainu by logging in with the Microsoft Entra ID login option.

Once this option has been enabled, you can also fine-tune the access by limiting the auto-access to only certain domains. In the example below there is one available domain that has auto-access to Vainu using Microsoft Entra ID.

Screenshot 2019-11-07 at 15.22.52

If Microsoft Entra ID SSO has not been enabled for all users, individual users need a separate invite before accessing Vainu. Invites are sent manually by the admin user as described here or by Vainu Support.

It is a good idea to enable the Force new users to use their Microsoft account to sign in option, because access to your organization's Vainu account is only needed by people who use your Microsoft environment and have the required credentials.

How to log in with Microsoft SSO on the legacy platform (app.vainu.io)

On the login page of app.vainu.io, click the Sign in with Microsoft button located under the primary login option. This lets you log in with your Microsoft credentials instead of a regular Vainu account.

Screenshot 2019-11-07 at 15.33.14

🧑‍💻 Contact Vainu Support if you have any questions! You can send an email to support@vainu.io or send a message through chat.

Did this answer your question?