Question
When configuring SSO for Segment, how can I verify my domain?
Product
Segment Access
Answer
To set up Segment SSO, you can follow the configuration steps here.
For the optional step 7, domain verification, enter your domain, click Add Domain, then click Verify.
You will now see configuration details for either adding a TXT record or meta tag, including a unique Segment identifier.
You will want to modify your DNS settings with your domain provider by adding a TXT record, or adding a meta HTML tag to your root index.html page on your domain's website.
TXT Record
To add a TXT record, you can add the following DNS field and value, where "..." is your unique Segment identifier:
DNS Field |
Value to Enter |
|---|---|
Type |
TXT |
Domain Name |
@ (or leave blank / enter your root domain i.e. example.com) |
Record |
segment-site-verification=... |
TTL |
Auto or 3600 (default) |
You should be able to then confirm that this record was added to your DNS settings, and you can also validate this directly with third party DNS lookup tools which query against public DNS records.
Meta Tag
Alternatively, you can modify your root index.html file to include the following meta tag, including your unique Segment identifier in place of "...":
<meta name="segment-site-verification" content="...">