Single sign-on
With single sign-on, members log in with an account they already have elsewhere: Google, Microsoft, Apple, Facebook, GitHub, or your own identity provider over OpenID Connect, such as Okta, Auth0 or Keycloak. They press Continue with Google (or the button of another provider), say yes at the provider, and are back on your site, logged in.


It comes with Poly Community. There is no other plugin to install and no service in between: your site talks to the provider directly, with keys you make in the provider console.
To set up Google, follow the Google guide, for Apple the Apple guide, and for Microsoft the Microsoft guide. This page explains how single sign-on works and what each setting does, for every provider. If something does not work, see Common problems.
How it works
- A member presses a provider button on the login page, the sign-up page or the WordPress login screen.
- Their browser goes to the provider, which asks them to log in there and to share their name, email address and picture with your site.
- The provider sends the browser back to your site, to its redirect address, with a code that works once. Your site trades the code for who the member is and checks the provider signature on it.
- Your site finds the account that goes with them. An account already connected to that provider account logs in straight away. An account with the same email address is connected when it is safe to (see An account that already has the address). Someone new joins, if you let them (see New members).
- The login itself goes through WordPress like any other. Two-factor plugins, limits on login attempts and your switch for each way to log in all apply to it.
When something does not work out, for example the member pressed Cancel at the provider or the login took too long, they land back on the community login page with a line that says why.
Where it is set up
Like every service of the site, providers are set up under Poly Community → Settings → Services → Single sign-on. Each one is then turned on as a way to log in under Settings → Joining → Logging in, beside a password, a code by email, passkeys and a code by text message, which Ways to log in describes.

Each provider row says whether it is set up and, once it is, whether it is on: On: its button is on the login forms, or Off: members do not see it yet with a Turn it on link. Below the list are Add a provider, for your own identity provider, and the Redirect address, the same for every provider. The folded SCIM, for larger teams part is for teams whose provider manages their accounts (see Larger teams).
Setting up a provider
The steps are the same for every provider. Only the console where you make the keys is different. The Google guide walks through every step for Google, the Apple guide for Apple, which asks for more, and the Microsoft guide for Microsoft.
- Go to Settings → Services → Single sign-on and press Set up on the provider row.
- In the dialog, Make the app opens the provider console in a new tab, and the Redirect address has a button to copy it.
- In the provider console, make an app for your site and enter the redirect address there, exactly as it is in the dialog.
- Copy the keys the console gives you into Client ID and Client secret. Apple asks for its Services ID, Team ID, Key ID and private key instead, and Microsoft also for its tenant.
- Choose Let new people join with it, and press Save the provider. The row now says Set up.
- Press Turn it on on the row, or go to Settings → Joining → Logging in. Turn the provider on with its switch there, and press Save changes.

Its button now shows on the login forms, the community one and the WordPress login screen. On the sign-up forms it shows only while Let new people join with it is on (see below).
On Joining → Logging in, a provider that is not set up yet has its switch off, with Not set up yet and a Set up link to Services. Change on a provider that is set up leads there too.

To add your own identity provider, press Add a provider under the list and enter its name, its issuer address and its keys. Unlike the five named providers, it is on as soon as it is saved. The OpenID Connect guide walks through it with Auth0. Any other provider, such as Discord, comes as a plugin that adds it, with its own row and button: see Login providers for developers.
Let new people join with it
This switch decides who may use the provider.
- Off: only people who already have an account on your site can log in with it. Its button is on the login forms and not on the sign-up forms, as it cannot make an account for someone new. Someone without an account who presses it on a login form is told there is none here for that account yet, and how to get in: an account they already have, logged in to another way, with the provider connected in its settings, then a new account where your site lets anyone sign up, or the community team where it does not. Use this when you add members yourself and want Google only as an easier way in for them.
- On: someone without an account can join through it, on your sign-up form (see New members). Its button is on the login forms and on the sign-up forms. Use this when anyone may join your community.
Either way, members who already have an account can log in with the provider. When no provider lets new people join, the sign-up form shows no provider buttons at all, only its own fields.
Only these domains can join
Shown while Let new people join with it is on. Email domains, one a line, such as example.com. When set, only people with an email address at those domains can join through the provider, which suits a company Google Workspace or Microsoft 365. It does not stop members who already have an account from logging in. Leave it empty to let any address join.
New members
With Let new people join with it on, someone new who logs in through the provider goes to your sign-up form for the rest of it: the profile fields you ask and your terms. Their name and email address are filled in from the provider, and their email address needs no code when the provider says it is confirmed. They are not asked for a password. Their account is made when they finish the form, connected to the provider, and they are logged in.

This works even while sign-ups are closed to everyone else: turning it on for a provider is your choice to let its members join.
Their picture is the one the provider has of them. Google, GitHub and Facebook give one, Microsoft and Apple do not. A blank picture is left out, such as the letter Google shows for an account without a photo or the Facebook silhouette. Members can change the picture on the sign-up form and at any time later.
A member who joined this way has no password. They can set one on the Account tab of their settings, after a code sent to their email address, or by logging in through the provider again.
An account that already has the address
The first time someone logs in through a provider, an account on your site may already have their email address. Poly Community connects the two only when both sides proved that address: the provider says it confirmed it, and the member confirmed it on your site, with a code, the link in a sign-up email or a password reset. Then they are simply logged in.
Otherwise, they land on the login page with their address filled in and a note: log in to that account once, any way you usually do, and the provider is connected to it. From then on the provider logs them straight in. A member who no longer knows their password can use Forgot your password?, which confirms the address too.

Once they log in, a message confirms it.

This guards against a known trick. Someone signs up with the email address of another person and a password of their own, then waits for that person to log in through Google. Without the check, both would end up in one account.
Administrators are always asked to log in once this way, even with a confirmed address. Facebook never says whether an address is confirmed, so a Facebook login always goes this way too.
Connected accounts
Members see the providers connected to their account on the Account tab of their settings, under Connected accounts. They connect another one there, or disconnect one. Their last way to log in cannot be disconnected: they set a password or connect another provider first. Every page they have open on Account shows the change at once.

The team sees them on the screen of each member, in Poly Community → Members, in the Connected accounts card: each provider, connected or not, the ID there for whoever may edit the user, and whether the member chose a password. Disconnect in WordPress under it, and Edit in WordPress in the Account card, open the WordPress page of the user.

In the admin, every user profile (Users, then Edit) has a Connected accounts section too. It shows each provider, whether it is connected and the member ID there, and whether the member has a password of their own. Whoever may edit the user can tick Disconnect. On their own profile, a member keeps their last way to log in.

Turning a provider off
Switch it off under Joining → Logging in and press Save changes. Its button goes, and its logins stop at once, even one already on its way. Members connected only through it log in another way, such as a code by email or Forgot your password?.
Larger teams: SCIM and groups
With an identity provider such as Okta or Microsoft Entra, your provider can make, change and turn off member accounts on its own. Under Services → Single sign-on, open SCIM, for larger teams, copy the SCIM address, press Make a token, and enter both in the provider SCIM settings. Copy the token when it shows, as it is not shown again.
Groups turns a provider group into what its members get here, one group a line, such as Engineering: spaces 12, 15; plans 3; type staff. Members of the group join those spaces, get those plans and that member type. Taken out of the group, they leave its spaces and lose its plans.