Add selenium test that verifies use of verify-none

This commit is contained in:
Marcial Rosales 2024-02-28 10:02:35 +01:00 committed by Michael Klishin
parent 0a34c320e9
commit 2cc3812e44
No known key found for this signature in database
GPG Key ID: FF4F6501646A9C9A
3 changed files with 13 additions and 0 deletions

View File

@ -10,6 +10,7 @@ authnz-mgt/oauth-idp-initiated-with-uaa-and-prefix.sh
authnz-mgt/oauth-idp-initiated-with-uaa-via-proxy.sh
authnz-mgt/oauth-idp-initiated-with-uaa.sh
authnz-mgt/oauth-with-keycloak.sh
authnz-mgt/oauth-with-keycloak-with-verify-none.sh
authnz-mgt/oauth-with-uaa-and-mgt-prefix.sh
authnz-mgt/oauth-with-uaa-down-but-with-basic-auth.sh
authnz-mgt/oauth-with-uaa-down.sh

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TEST_CASES_PATH=/oauth/with-sp-initiated
TEST_CONFIG_PATH=/oauth
PROFILES="keycloak keycloak-verify-none-oauth-provider keycloak-mgt-oauth-provider tls"
source $SCRIPT/../../bin/suite_template $@
runWith keycloak

View File

@ -0,0 +1,2 @@
auth_oauth2.issuer = ${OAUTH_PROVIDER_URL}
auth_oauth2.https.peer_verification = verify_none