0. I have the "OpenID Connect Issuer" field in the Integration page configured as https://myclient:mysecret@rhsso.mydomain.com:8443/auth/realms/amp
(and it was working previously)
1. I change the value to "abc", and click "Update the Staging Environment"
2. The value is accepted (although it's not a valid URL), green flash message shown: "OpenID Connect Issuer verification in progress"
3. After some time I see the red flash message:
"OpenID Connect: Connection refused - Connection refused - connect(2) for "rhsso.mydomain.com" port 8443 (rhsso.mydomain.com:8443)"
Problem 1: there is no validation on the "OpenID Connect Issuer" field
Problem 2: it looks the old value was used for test call, not the new value "abc"
Problem 3: Some times it takes very long time to get an error (or success) message, you just see "verification in progress" and may not be updated for long time. It would be good to improve UX here.