Problem statement
The SAML documentation states that the metadata for a SAML connection can be retrieved from https://{AUTH0_DOMAIN}/samlp/metadata?connection={CONNECTION_NAME}, but this metadata will have URLs that are using the tenant’s canonical domain. Is there a link that can be used to get the custom domain in the metadata instead?
Solution
To retrieve metadata that will use the custom domain for the URLs listed, please use the custom domain in the metadata link itself:
https://{CUSTOM_DOMAIN}/samlp/metadata?connection={CONNECTION_NAME}