Skip to content
Deprecations

Migrate from raw_attributes

How Migrate from raw_attributes works in Paycux, what it is for, and the smallest setup that gets it running.

Overview

Migrate from raw_attributes is part of the Paycux platform. This page explains what it does, when to reach for it, and the smallest working setup you can ship.

Everything below applies to both environments. Build and test in staging, then promote the same configuration to production without changing your code — only the API key and client ID differ.

Migrating from raw_attributes

Paycux normalizes incoming attributes into a fixed profile shape, so your application reads the same fields no matter which provider the user came from.

Paycux fieldTypical source
emailNameID, email, or mail
first_namegivenName or first_name
last_namesurname, sn, or last_name
idp_idThe provider's stable user identifier

Anything the provider sends beyond these fields is kept verbatim under raw_attributes, so you can map custom claims without waiting on us.

Migrating from legacy standard attributes

Migrating from legacy standard attributes applies specifically to Migrate from raw_attributes. It behaves the same in both environments, and the values it depends on are visible in the dashboard for the environment you have selected.

If the behaviour you see does not match this description, check which environment your API key belongs to before anything else — a staging key against production data is the most common cause.

Example payload

Example payload is handled by Migrate from raw_attributes rather than by your application code. Paycux exposes it through the same API surface as the rest of the platform, so the client you already configured needs no additional setup.

Configuration lives in the dashboard and is versioned per environment. Change it in staging, confirm the behaviour, then apply the same change to production.

Learn more

Learn more is handled by Migrate from raw_attributes rather than by your application code. Paycux exposes it through the same API surface as the rest of the platform, so the client you already configured needs no additional setup.

Configuration lives in the dashboard and is versioned per environment. Change it in staging, confirm the behaviour, then apply the same change to production.