Organization Login Methods - WunderGraph

Organization Login Methods

Organization login methods control which login methods can be used to access the organization. A user who authenticates with a method the organization does not allow is denied access to that organization. The restriction is per organization, so a user denied from one organization can still access another that allows their method.

Login method restrictions are an Enterprise plan feature.

Login methods

An organization can allow any combination of the following:

How it works

With no restriction configured, all methods are allowed. This is the default, so existing organizations are unaffected until you configure a restriction. Once you configure a restriction, only the listed methods can access the organization. Every other method is denied.

API keys are never restricted. Use API keys for CI and automation. The restriction is based on how a user authenticated, not their role, so it applies to all members including organization admins.

Guardrails

For example, to enforce SSO-only access, sign in through the SSO app first, then configure the organization to allow only that app.

Configure

Only organization admins can view and change organization login methods.

  1. Connect the SSO providers and enable the social logins you intend to use. See SSO.
  2. Go to Login Methods and use the Organization section.
  3. Select the allowed login methods. Leave the selection empty to allow all methods.
  4. Save. The restriction applies on each user’s next request.

Relationship to namespace login methods

The organization allow-list is the superset of any namespace-level configuration. Namespace login methods can only reference methods the organization allows.

The studio asks you to confirm before applying a change that affects namespace mappings.