Step 10: Set the sign-on policy as the default
PUT {{apiPath}}/environments/{{envID}}/signOnPolicies/{{samlSignonPolicyID}}
Set the sign-on policy that you created as the default for the IdP in the destination environment. Use a PUT {{apiPath}}/environments/{{destinationEnvID}}/signOnPolicies/{{policyID}}
request to set default
to true.
- Set
{{policyID}}
to the ID of the sign-on policy that you created in a previous step.
Next, execute the authentication flow:
Copy the Self-Service URL for the destination environment. You can find the Self-Service URL on the Settings --> Environment --> Properties page.
Open a private browser window and enter the Self-Service URL that you copied.
Click the button that matches your SAML IdP connection.
Authenticate as a user in the source environment. Depending on your configuration, you might need to perform account linking or user verification.
You should be able to sign on as a source environment user, indicating that authentication from the source environment to the SAML IdP in the destination environment is working.
Request Body
{"name"=>"Source_Environment_Factor", "description"=>"A new basic sign-on policy.", "default"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |