+++ This bug was initially created as a clone of Bug #1790757 +++ Description of problem: When do negative test for idp, the idp is not created successfully but secret is already created. Version-Release number of selected component (if applicable): 4.3.0-0.nightly-2020-01-11-070223 How reproducible: Always Steps to Reproduce: 1.Create gitlab idp from console, set name, client id, client secret, and input "testurl" in field "URL", click "Add". 2.Check secret in openshift-config project. 3. Actual results: 1. It will prompt error: "must contain a scheme (e.g. https://)" for field "spec.identityProviders[1].gitlab.url"." 2. New secret prefix with "gitlab-client-secret" is listed in openshift-config project. Expected results: 2. Should not create secret if idp is not created successfully. Additional info:
*** This bug has been marked as a duplicate of bug 1790757 ***