# Enable and test identity provider integration ## Enable authentication You must enable your SAML or OIDC provider in order to test your integration. If using a Foundry setup link, skip to the next step. Otherwise, go to the **Provider Management** page and toggle on **Enable provider** for the desired provider. You can then log in to Foundry using your new integration. ![Enable provider](../../../assets/25a4c6b6a643de30730ce19266a1f8e775a87f84cd080b8ed42830a9464c11b3.webp) ## Test integration To validate the configuration of your identity provider integration, you can create test logins. If using a Foundry setup link, click **Log in to Foundry** to automatically create a test login. Alternatively, navigate to the **SAML** or **OIDC** page in-platform and select **Test SAML** and then **Create new test**. There are two options for testing: * Select **Log in to Foundry** to test the integration yourself. * Use the clipboard to copy the login URL and send it to another person. You will be able to see the result in the summary view after they attempt to log in. ![Create test](../../../assets/6ab3a38f611e53b69e8408967d82615d52ab4029a4394975e528be093b911a1e.png) ![Test log in](../../../assets/bdc85cf1e241e4f7a4153f6a82a8728f7cf1aaf23dda82d155bca071cffa70f5.png) Once you — or the person you sent the URL to — has logged in, you will be able to see the results of the test. These test results state whether the login was successful and capture a snapshot of the user's attributes received from your provider. You can preview how these attributes will be mapped in Foundry by opening the test in the **Attribute Preview** tab. As you make changes to your attribute mapping configuration, the results will be reflected in the panel. ![Login tests](../../../assets/2fa3b01302d5d2f3cc2736c6a83934ab1edad775f9ad510c2365232f6d9a431c.webp) ![Attribute preview](../../../assets/0d4c28393fd7521c54a1dd7f6c2cefb58123746dbbfdc6bce42c783808bc20b9.webp) Test results are automatically deleted after one month.