What digital identity gives a business portal
An identity provider can let people sign in to your portal using an account they already have. Some providers can also return verified information needed for a specific service. Decide what the portal needs to know before you select a provider. Checking that the same person signs in again is a different task from verifying their legal name or right to act for a company.
OpenID Connect Core defines how an application confirms authentication and obtains claims about the user. A claim is a piece of information about the account or person, such as an identifier or name. Ask the provider which claims it verifies, how it verified them, and how your portal learns which checks were performed. Your portal still decides what the user may see or do.
If a transaction needs a verified document or a specific entitlement, check which provider or credential can establish it. The W3C Verifiable Credentials Data Model describes how issuers, holders, and verifiers present and verify claims in credentials protected against tampering. It is a data model. Confirm which formats and issuers your users and your service can actually use.
Check eligibility and coverage before you build
Ask the provider whether it accepts your organization and use case. Check which users can create an account, whether proofing is available to them, which claims the provider can release, and whether those claims are available in the environments you plan to use. Confirm fees, expected support, availability commitments, and what happens if either party ends the agreement.
Prepare a description of the portal, the actions that require proof of identity, and the smallest set of claims needed for each action. Map each claim to its use and owner. Record requirements for data handling, retention, cross-border transfers, and user notice, and have the appropriate advisor confirm them.
A four-stage onboarding plan
Providers differ in how they approve integrations. Use the following stages to plan your work and map them to the provider's process.
Onboarding an identity provider for a business portal
- Confirm eligibility, covered users, requirements, and the smallest useful set of claims
- Set up a test integration with approved callbacks and obtain test accounts and keys
- Test sign-in, linking, fallback, and errors against expected behavior
- Obtain any required approval, register production callbacks, and confirm support and recovery
Ask for a sample response from each relevant account type. Check what happens when a claim is missing, when consent is withheld, and when the provider cannot meet the required level of assurance. Decide which of those users can continue and which need another route.
How web sign-in works
For an OpenID Connect provider, use the authorization code flow with PKCE and a registered redirect URI. Follow the provider's requirements and the OAuth 2.0 Security Best Current Practice. Use a maintained library that validates the response and manages protocol details.
Web sign-in through an identity provider
- Start sign-inThe portal initiates an authorization request with the required scope and request security parameters
- AuthenticateThe provider signs the person in and asks for authorization where applicable
- Return to the portalThe provider returns an authorization code to the registered callback
- Exchange and validateThe portal checks the callback, exchanges the code, and validates the ID token before using any claims
- Open a local sessionThe portal finds or links the local account and applies its own access rules
Bind the response to the login request and validate the ID token's signature, issuer, audience, expiry, and any required nonce or assurance claim. Register exact callback URLs and keep test and production credentials separate. Never log raw tokens or authorization codes. Use the provider's documented logout flow if it supports RP-Initiated Logout, and test separately that signing out ends the portal session.
Link the new identity to the right account
If the portal already has users, decide how they prove they own an existing account before attaching a new sign-in method. A person signed in to the portal can reauthenticate and complete the provider sign-in. Someone who is signed out can use established account recovery or a support review that checks their identity. A matching name, phone number, or email alone is insufficient.
Use the validated issuer and subject identifier to find the link on later visits. A provider may issue a different subject identifier per client or sector. Test migration between clients and environments before assuming the identifiers carry over. Keep an audit record of linking, unlinking, and changes to permissions. Check that each identity can be linked only where the business rules permit it.
Offer an alternative for users the provider cannot serve
Make a list of the people who may be unable to use the provider. Include users outside its coverage, people without a supported device, customers who decline to share a claim, and cases when the provider is unavailable. For each portal action, decide whether a verified existing account, another approved provider, or manual review provides enough assurance.
Explain the alternative on the sign-in page. Give a route back if the person cancels or the provider returns an error. Check whether the chosen fallback offers the required proof for the action, particularly for payments, sensitive records, and delegated company access. Track fallback use so recurring failures can be investigated.
Request and retain only the claims you need
Request the scopes and fields required for the service. If the portal needs proof of eligibility, a yes-or-no result may suffice where the provider supplies one. If it needs a legal name, keep the verified value and its source only for as long as your process and applicable rules require. Avoid collecting identity numbers, dates of birth, or document images solely because they are returned by default.
Separate access to identity data from ordinary support access. Mask data where full values are unnecessary and set retention for claims, audit records, and any manual review evidence. Where identity has to be checked from an uploaded document, use the same data minimization and limit access to the original image.
Test web and mobile as different integrations
A web portal and a native app may use separate provider registrations and redirect mechanisms. RFC 8252 specifies browser-based authorization for native apps. Use the operating system's authentication session and the provider's supported callback mechanism. A native app cannot protect a bundled client secret as a server can.
Test switching between the browser, provider app where applicable, and your app on real devices. Include cancellation, timeouts, a cold app start from the callback, a returning user, and a user with a different language preference. Check that a sign-in completed in the wrong environment cannot create a production account.
Prepare the launch evidence
Write acceptance criteria before integration testing. Use test accounts that reflect users and assurance levels you expect to serve. Agree with the provider which evidence it needs for production approval, if any.
Evidence to collect before enabling digital identity sign-in
- Eligibility and claimsYour organization and use case are approved, and verified claims are confirmed with test accounts
- Account typesInclude eligible users, less-verified users, and people who need an alternative
- LinkingTest first sign-in, linking with verification, unlinking, and a conflicting account
- ErrorsTest cancellation, missing claims, expired codes, callback mismatch, and provider outage
- Languages and accessCheck portal and provider language support, keyboard operation, and messages on phones
- Logout and recoveryVerify local sign-out and any supported provider logout, plus the fallback recovery path
- HandoverDocument test results, keys and contact owners, the rollback switch, and production monitoring
Keep the existing sign-in available for users who rely on it until the new path and the fallback have passed acceptance. If you need help deciding which claims and user journeys belong in scope, see how we build customer and business portals.
Questions buyers ask
Can any business use a digital identity provider?
Eligibility depends on the provider and the intended use. Confirm that the provider accepts your organization, covers your users, and can supply the required identity claims at the required level of assurance. Ask about fees, test accounts, and production approval before you commit to a launch date.
Will a successful sign-in verify a person's legal identity?
Only if the provider verified the relevant claim and your integration can confirm the assurance needed for that task. A successful sign-in establishes control of a provider account. The level and source of any identity checks depend on the provider and the account.
Can we match existing portal accounts by email?
Use email to find a candidate account, then ask the person to prove control of that account before you link it. Use the verified issuer and subject identifier as the durable link. Emails can change or be reassigned.
What if a user cannot sign in through the identity provider?
Offer a route suited to the action, such as verified account recovery, another approved provider, or manual review. Require the same assurance for sensitive actions. An alternative sign-in may be sufficient for viewing public material but insufficient for accessing a confidential record.