Apple announced that new Private Relay addresses issued through Sign in with Apple will use the private.icloud.com domain later in 2026. Previously issued addresses on the privaterelay.appleid.com domain will continue to forward mail without any interruption or required migration.
At the mail-delivery level the change appears minor, yet it exposes a common architectural mistake: treating the email address returned by Apple as a stable user identity instead of a contact channel. The signed identity token, the verified subject, and the optional relay email must remain separate entities throughout the authentication and account-management layers.
What exactly is changing
Private Relay lets users hide their real email address. The application receives a relay address and Apple forwards messages to the user’s actual mailbox. Apple now states that future relay addresses will be issued under private.icloud.com. Existing addresses keep working, so no database rewrites or allow-list updates are required for mail delivery.
The relay address is never a proof of permanent identity. Users may later disable forwarding, and the sending infrastructure must still be correctly registered with Apple. These facts affect only the mail subsystem, not the authentication flow.
Identity versus contact channel
Sign in with Apple returns a signed identity token containing a stable subject identifier. The email claim is optional and may be absent for managed Apple Accounts or on subsequent logins. Therefore the server must resolve the internal account exclusively from the verified provider and subject pair.
- Identity token – proves the request originated from Apple for the expected application.
- Subject (sub) – stable identifier that links the Apple identity to an internal account record.
- Email (including relay) – used only for message delivery when the user permits it.
Storing only the email or searching accounts by email address creates fragile logic that breaks when domains change or when the email claim is empty.
Recommended data model
Maintain a dedicated auth_identities table with a unique index on (provider, subject). On first successful login the server creates both the internal account and the identity record inside a single transaction. Subsequent logins locate the existing identity by provider and subject, then issue a session for the linked account. No automatic merging occurs on matching email addresses.
Verification steps that must remain on the server
The mobile client sends the identity token, authorization code, and nonce. The server alone performs signature validation, checks issuer, audience, nonce, and expiration, then extracts the subject. Only after this step does the authorization service resolve or create the internal account. Client-supplied subject strings must never be trusted.
Common anti-patterns to avoid
- Searching accounts by the email claim from the token.
- Storing only an email address as the account key.
- Hard-coding checks for the old relay domain.
- Automatically linking accounts when email values appear similar.
Each of these patterns risks duplicate accounts or unauthorized merges and will surface problems the moment Apple alters relay domains again.
Testing strategy
Tests should assert behavior around the verified subject rather than any specific domain suffix. Key scenarios include first login creating a single account, repeated logins returning the same account, parallel first-login attempts producing only one record, and tokens with invalid issuer or nonce being rejected before any account operation occurs.
When the system already uses email as a key, the migration path begins by adding the proper identity model and stopping new incorrect linkages. Existing conflicts are resolved through explicit user confirmation rather than automated scripts.

