Skip to content

Social and enterprise accounts

Under Social / enterprise login, you can connect outside accounts that people can sign in with. Each connection you add puts a button on the sign-in page.

You can connect Google, Apple, Microsoft, GitHub, Facebook and LinkedIn. The steps are much the same for each:

  1. Create an app with the provider. The portal tells you where to do this.
  2. Give the provider the callback URL that the portal shows for the connection.
  3. Copy the provider’s client ID and secret into the portal. Apple works a little differently: you give it your team ID, key ID and private key, and authN creates Apple’s client secret for you.

Sometimes a person signs in with a social account whose email address already belongs to an existing account. By default, authN refuses the sign-in. If you choose Sign in, then link, the person is asked to sign in the way they did before, and the two are joined only once they’ve done that. Addresses from Facebook are never trusted to join an existing account.

If you allow it, people can also connect and disconnect social accounts from their account page.

Enterprise connections let people sign in with their company’s own directory. You can connect:

  • Any OpenID Connect provider, such as Okta, Auth0, Keycloak, Entra ID or another authN project (Teams and Enterprise)
  • AD FS (Enterprise)
  • Azure AD B2C, using a user flow or a custom policy (Enterprise)

You can give a connection one or more email domains, such as acme.com. When someone from that domain enters their email address, they’re taken straight to their company’s sign-in. This works with asking for the email address first and with sign-in links by email. Only the domain is used to decide; it doesn’t matter whether the person already has an account.

If the provider shares them, authN receives the person’s name, email address and picture. The email address is marked as verified when the provider says it is. Turn on Fill in profiles from social accounts if you’d like profiles kept up to date each time someone signs in this way.