Custom user data mapping for cross-border B2B platforms: Storing corporate tax identifiers and trade

Hello OneAll Support and Developer Community,

We are currently implementing OneAll Social Login across a multi-vendor B2B trade portal and cross-border logistics network operating in South America. The platform connects international suppliers with verified regional importers and distributors.

While standard social identity providers return basic consumer profile fields (name, email, avatar), our B2B onboarding workflow requires linking authenticated user accounts with validated corporate business identifiers and trade credentials.

Business Context: Validating Import and Export Registrations

In cross-border trade operations—especially in jurisdictions like Peru—corporate buyers and commercial freight forwarders must be legally authorized to engage in international commerce under their official taxpayer registry. When auditing regional traders or granting commercial buying privileges, understanding the registration requirements and customs clearance eligibility for el RUC en comercio exterior is essential for ensuring that corporate accounts are fully qualified before placing customs-bonded orders.

Our goal is to prompt newly authenticated B2B users to complete a post-login verification step where their verified business tax number and trade status are linked to their OneAll user profile.

Technical Questions for OneAll Integration

We would appreciate guidance on the following implementation details:

Custom Profile Attributes: Does the OneAll User Storage API support storing custom arbitrary key-value pairs (such as company_tax_id, customs_verified_status, and business_legal_name) alongside the unified user identity, or should custom business data be stored strictly in our application database?
Post-Authentication Webhooks: What is the recommended webhook event to listen for when a user completes their initial social registration so we can intercept the flow and redirect them to a mandatory corporate data completion screen?
Account Linking Security: If an employee signs in with LinkedIn or Google Workspace and later connects a second identity provider, does OneAll maintain a unified unique user token (user_token) without overwriting existing custom metadata?

Thank you in advance for your technical assistance and best practice recommendations!

    Welcome!

    Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

    Please click on the link below to connect to the forum with your OneAll account.