Skip to main content

1PasswordHow to secure 1Password with XFA

License requirements

You need a 1Password Business account with Unlock with SSO, and an owner or administrator role in it.

When someone unlocks 1Password with SSO, XFA checks their device against your policy before they sign in to your identity provider. This works with Google and other OpenID Connect identity providers.

If your organization requires device approval, turn off Require device approval for multi-factor authentication in XFA under Connections > Settings. 1Password sign-ins can't use device approval.

Note: This article assumes that you have an account set up with XFA for your organization and you are an admin for that organization. If you do not have an account, you can create one at https://dashboard.xfa.tech/signup.

Create the connection in XFA

  1. In the XFA Dashboard, go to Integrations. Click Set up on the 1Password card, then Set up in the Sign-in checks section.
  2. Under Basics, enter a Name and pick the Policy with the checks to run at unlock.
  3. In step 1 in XFA, enter Your 1Password sign-in address, for example team-acme.1password.com.
  4. Under Identity provider, choose Google. If you don't use Google, choose Other, fill in your identity provider's discovery URL (it ends in /.well-known/openid-configuration) and click Fill in.
    • Microsoft Entra ID: App registrations > your app > Endpoints > OpenID Connect metadata document (docs)
    • Okta: https://<your-okta-domain>/.well-known/openid-configuration (docs)
    • Auth0: https://<your-auth0-domain>/.well-known/openid-configuration (docs)
    • JumpCloud: https://oauth.id.jumpcloud.com/.well-known/openid-configuration, or with oauth.id.eu or oauth.id.in for the EU or India region (docs)
    • Any other provider: in its documentation
  5. Click Save and continue later.

Configure 1Password in your identity provider

Open the OAuth client that 1Password uses in your identity provider. If you don't have one yet, create it with 1Password's guide for your provider.

  1. Add the XFA redirect URI from step 2 in XFA as an extra redirect URI. Keep 1Password's own redirect URIs, https://<your-sign-in-address>/sso/oidc/redirect/ and onepassword://sso/oidc/redirect.
    • Google: in the Google Cloud console, APIs & Services > Clients > the Web application client > Authorized redirect URIs. Also add xfa.tech under Authorized domains on the OAuth consent screen. This can take from a few minutes to a few hours. 1Password's guide.
    • Microsoft Entra ID: Authentication > Web (1Password's guide)
    • Okta: Sign-in redirect URIs (1Password's guide). If the catalog app has no such field, create your own OIDC - OpenID Connect Web Application.
    • Auth0: Allowed Callback URLs (1Password's guide)
    • JumpCloud: Redirect URIs on the SSO tab (1Password's guide)
    • Any other provider: its allowed redirect URIs (1Password's guide)
  2. Copy the Client ID, and the client secret if there is one.
  3. In XFA, click Mark as done on step 2.

Configure 1Password to use XFA

1. Open the single sign-on settings

Sign in to 1Password.com, select Policies, then under Single sign-on select Manage policies.

2. Choose Other, then Manual

Choose Other, then Manual, even if you use Google. 1Password's Google option skips XFA.

3. Fill in the fields

Step 3 in XFA shows XFA's values, ready to copy, and where the others come from.

Settings to use in 1Password

Client ID: from your identity provider
Issuer: your identity provider's
Token Endpoint: XFA's
Authorization Endpoint: XFA's
User Info Endpoint: your identity provider's
Client Type: Private Client if you have a client secret, and paste it. Otherwise Public Client.

Select Next. In XFA, click Mark as done on step 3.

4. Test and save

In 1Password, select Next, then Test Connection. XFA checks your device, then you sign in to your identity provider. When the test succeeds, select Save. If people already unlock with SSO, they go through XFA from now on.

5. Start with a small test group

If no one unlocks with SSO yet, create a group with a few people. Under People unlocking 1Password with an identity provider, choose Only groups you select and pick that group.

1Password Owners never unlock with SSO. They keep their account password and Secret Key, so you can still get in if SSO fails.

In XFA, click Mark as done on step 4, then Finish setup.

Test the connection

Sign in as a member of the test group who is not an owner. Lock 1Password and unlock it with SSO, in the browser and in the desktop app. XFA checks the device before you sign in to your identity provider. If a check fails, XFA shows what to fix.

Unlocking with biometrics (Touch ID, Windows Hello) does not go through SSO, so XFA does not check the device then.

Troubleshooting

redirect_uri_mismatch

Your identity provider doesn't have the exact XFA redirect URI. Copy it again from step 2 in XFA and paste it in your provider.

XFA says the redirect URI isn't allowed

The sign-in address in step 1 in XFA doesn't match your 1Password account. Use the address you open 1Password at in your browser.

invalid_client

The Client ID, Client Type or client secret in 1Password doesn't match your identity provider. Copy them again.

invalid_scope

Your identity provider doesn't send the person's email address. In Microsoft Entra ID, go to Token configuration, click Add optional claim, choose ID and select email. Other providers have a similar setting.