If you're trying to find out what happens to the Single Sign On (SSO) settings when a sandbox is refreshed, and if the production settings are copied down we'll go over that information.
Sandboxes created as a mirror of their production environment will have their SAML settings disabled after a sandbox refresh, due to the recipient URL being updated.
The recipient URL is updated to match your sandbox URL that Salesforce gives when the sandbox is refreshed, for example, http://cs1.salesforce.com. Other than the Recipient URL, all SSO config options, including certificates, will be mirrored in the sandbox SSO configs.
1. Click on Setup.
2. In Lightning Experience, follow the click path: Setup | Identity | Single Sign-On Settings. In Classic, under "Administer," click Security Controls | then click Single Sign-On Settings.
3. Click Edit, then check SAML Enabled.
4. Click Save.
OR
1. Click on Setup.
2. In Lightning Experience, follow the click path: Setup | Users | Users list.
3. Click the user and click the Reset Password button.
See also
Refresh Your Sandbox
000385851

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.