Why the CNAME alone is not enough
If several users point at the same CNAME target, that CNAME does not identify who requested the connection. A TXT value made for one user gives the connection an additional record that the domain’s DNS controller must publish.
_verify.shop.example.com. IN TXT "ownership value for this user"
Keep the secret on the server
Build the CNAME and ownership TXT records on the server and bind them to the session created for the signed-in user. The browser can receive the session token needed by the connect window; it does not need the application secret.
The CNAME guide explains why a CNAME cannot share its own name with a TXT record, so the ownership record uses a separate name.
Sources
Read on November 30, 2026.