Pass the menu and read the page

SignupFolio

2 identity provider roles in federated signup

An identity provider either only authenticates your users, or it does that plus links their identity to an account in your product — and that choice shapes your signup flow.

Key takeaways: - Role one: the provider runs the login and returns a signed assertion; your signup endpoint decides whether to create the account. - Role two: the provider authenticates and registers the user with your product in one step, so no password field, email confirmation, or profile form appears before first use. - Both roles keep passwords out of your database. - The difference is where account creation begins: with your signup endpoint, or driven by the provider's assertion. - Choose role one when your product must own the moment an account is born; choose role two when the fastest path from click to first session is worth giving up that control.

What you are actually choosing

When you add federated sign-in to a signup page, you hand some work to an identity provider. That provider sits between your product and the person trying to get in. The word people use for this work is authentication.

The OWASP cheat sheet defines it plainly: authentication "is the process of verifying that an individual, entity, or website is who or what it claims to be by determining the validity of one or more authenticators (like passwords, fingerprints, or security tokens) that are used to back up this claim" (OWASP).

So the provider checks the authenticator. What it does after that is where the two roles split.

The first role: the provider just authenticates the person, and your signup page does the rest. The second role: the provider authenticates and also binds that identity to an account in your product. Both work. They change who owns account creation, what data arrives, and how you handle the first session.

Role one: the provider only authenticates

In this setup, the identity provider runs the login. Your signup endpoint waits. When the provider finishes, it returns a result that says this person proved who they are. Your backend then decides whether to create an account.

NIST describes the setup directly. In federated applications, the provider takes on the authentication functions you would otherwise run yourself: "In federated applications described in [SP800-63C], the authentication functions of an IdP correspond closely with that of a CSP or verifier" (NIST).

Read that closely. The provider behaves like your own verifier. You no longer store or check passwords. You receive a signed assertion and treat it as proof.

What this means for your signup page:

  • You still decide whether an account exists. The provider does not create it.
  • You still decide what profile fields your product needs.
  • You still own the moment a user lands in your app for the first time.

The provider handles the hard part: checking the authenticator. Your code handles the business part: mapping that identity to a seat, a team, a plan, or a trial.

Some teams prefer this. It keeps account logic on your side. You control how a user is greeted, which onboarding steps run, and when a workspace is provisioned. The cost is that you write the account-creation path yourself.

Role two: the provider authenticates and creates the account

In the second role, the provider does the work above and also registers the user with your product. A single button press both proves identity and produces an account record.

This shortens the signup path. The user never sees a password field, never confirms an email, and never fills a profile form before first use. The fields your product needs are meant to arrive in the first assertion, but any claim can come back empty, so plan for missing values.

What changes for your team:

  • Provisioning lives partly with the provider. You map its claims to your account model.
  • Your first-run logic reads the assertion instead of a registration form.
  • Your support team answers fewer password questions, because the provider owns that surface.

NIST says to "invalidate the authenticator application that will no longer be used". If the provider manages authenticators for you, ask who executes that invalidation and how long it takes. An authenticator left active after a user leaves is an open door.

This role fits a product whose first session should be instant. A tool where the user signs up, invites teammates, and starts work in the same sitting benefits from skipping account forms. A product with heavy compliance or trial logic might still prefer role one, so it controls when an account truly opens.

Compare the two roles

The table below puts the main differences side by side.

What you are decidingRole one: provider authenticatesRole two: provider authenticates and creates the account
Who runs the loginThe identity providerThe identity provider
Who stores passwordsNobody in your productNobody in your product
Who creates the account recordYour signup endpointYour product, driven by the provider's assertion
Who invalidates a retired authenticatorYou decide and act, or you direct the providerThe provider, under your instruction
First-run onboarding controlFully on your sideSplit between your product and the provider

The difference is where account creation begins.

What the provider must prove on your signup page

NIST's description of federated authentication means the provider carries the verifier's job. Your page should show the user that something real is happening. Three things deserve attention.

The assertion carries the claim

After login, your backend receives a signed assertion. That assertion is the claim that this person is who they say they are. Your backend validates signature, issuer, audience, and expiry before it trusts anything inside.

If the assertion arrives without a stable subject identifier, you cannot match it to an existing account. Two logins from the same person must map to one account, and two different people must never collide. Ask your provider how it issues and reissues that identifier.

The authenticator activation step

Because the provider is your verifier, it holds the verifier-side values for checking the one-time password. Some authenticators require a second step before they release a code. NIST describes one family that way: multi-factor one-time password authenticators "require the presentation and verification of an activation factor (a password or a biometric characteristic) to obtain the OTP from the authenticator".

You do not implement that activation step. You rely on the provider to enforce it. Your job is to know which authenticator classes your provider accepts for your users, and to say so on the signup page so people are not surprised.

The provider keeps its own state

Multi-factor one-time password authenticators and their verifiers hold two values that persist: a symmetric key that lasts the authenticator's lifetime, and a nonce that changes on each use or tracks a real-time clock. The verifier side of that state sits with the provider, and the authenticator holds its own copy.

When you choose between roles, you are also choosing who you trust to keep that state correct. Ask the provider how it protects the symmetric key and how it handles a nonce replay. Those questions belong in your security review.

Designing the signup flow around role one

With role one, the flow starts on your page. The user clicks a federated button, leaves for the provider, and returns with an assertion. Your endpoint reads it and creates the account.

Plan these steps before you write code:

  • Decide what profile fields you need on first run. Everything you do not receive must be collected later.
  • Decide whether an unknown subject creates an account or triggers an admin review.
  • Decide what happens when the assertion is valid but the email domain is outside your allowed list.
  • Decide how you handle a user who already has a local password account and now signs in through the provider. Two identities pointing at one person need a merge rule.

Because your endpoint owns creation, you can gate it. You can require a workspace invite, a plan choice, or a terms acceptance step between assertion and account. The provider waits while your rules run.

Designing the signup flow around role two

With role two, the provider pushes the new identity into your system. Your product must accept it gracefully.

Plan these instead:

  • Define the claim-to-account mapping once. Decide which claim becomes your user ID, which becomes the display name, and which become optional fields.
  • Define what happens when a claim arrives empty. A missing display name should not break the first run.
  • Define when your product treats the arrival as an invitation or a fresh trial.
  • Define your offboarding path. When the provider revokes access, your account record must follow.

The tradeoff is control at the edges. You gain speed in the middle of the flow. Teams that run fast self-serve signups often accept this trade. Teams selling into enterprises, where provisioning is governed by an admin, often prefer role one so the admin's rules run first.

Picking a role before you build

Ask four questions with your team in the room.

Who must create the account? If your product needs a plan choice, a team invite, or a compliance gate before the first session, role one keeps that gate on your side.

How fast must first use begin? If a user should land inside the product within seconds of clicking, role two shortens the path.

Who owns offboarding? If a provider can revoke access, decide today whether your account record is disabled, deleted, or left open for re-linking.

What does support handle? Every password reset the provider owns is one fewer ticket you run. Every reset you own is a ticket you keep.

Write the answers down. They become your acceptance tests.

Questions to ask your identity provider

Bring these to the vendor call. Each one maps to a decision above.

  • How do you issue and reissue the subject identifier, and what happens if it changes?
  • Which authenticator classes do you accept for my users, and which require an activation factor?
  • When I ask you to retire an authenticator, how long until it stops working everywhere?
  • Do you support creating an account on first login, or do you only return an assertion?
  • What claims arrive in the assertion on first login, and which can arrive empty?
  • How do you handle a user who is removed from the customer directory mid-session?
  • Where is your symmetric key stored, and how is nonce replay detected?

NIST's federated description tells you the provider carries the verifier's job. It does not tell you how quickly any particular provider executes a revocation. That is a question only your provider can answer in writing for your contract.

Where the roles leave you exposed

Both roles share one risk: a break between assertion and account. If your endpoint trusts an assertion without checking its signature, audience, expiry, anyone who forges one gets in. Validate before you create.

Both roles also share a data question. The provider sees who signs in and when. Your product sees what they do after. Decide which side keeps the audit trail your compliance team will ask for later.

One open question sits in the middle of both roles: what happens to local password accounts created before you added federated sign-in. Ask your identity provider and your own security lead together, and record the decision in your runbook.

Illustrative example: one claim missing

A team picks role two. The provider sends an assertion on first login with an email claim, a subject identifier, and an empty display name. The product maps subject to user ID, email to login, and leaves display name unset, falling back to the text before the "@" in the email. The first session still opens, and the profile page shows the fallback name. Later, the user edits the display name field, and the record updates. Had the product required a display name at registration, this first run would have failed for a claim the provider is allowed to send empty.

Closing the loop on your signup page

Choose role one when your product needs to own the moment an account is born. Choose role two when the fastest path from click to first session is worth giving up that control.

Whichever you pick, put the provider's job in plain words on the page. Tell users which button runs the login, what they will be asked for, and what arrives in your product afterward. Clear words at signup prevent confusion at the password reset link.

Start with your own signup script. Walk it as a new user. Note where the provider hands off, where your code takes over, and where the first account record appears. If you cannot point to those three moments, the flow is not ready to ship.

Sources and check date

Related posts

More posts