Skip to content

Commit 63574d3

Browse files
MarcialRosalesmergify[bot]
authored andcommitted
Add missing pem file
(cherry picked from commit 42b821f) (cherry picked from commit 7df05d5) (cherry picked from commit 9b0d7d9)
1 parent f5fd941 commit 63574d3

File tree

6 files changed

+26
-5
lines changed

6 files changed

+26
-5
lines changed

deps/rabbitmq_management/selenium/suites/suite_template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ run() {
290290
build_mocha_image
291291
start_selenium
292292

293+
trap _teardown EXIT
294+
293295
echo "Set up ..."
294296
[[ $(type -t _setup) == function ]] && _setup
295297

deps/rabbitmq_management/selenium/test/oauth/rabbitmq-idp-initiated.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ auth_backends.1 = rabbit_auth_backend_oauth2
33
management.login_session_timeout = 1
44
management.oauth_enabled = true
55
management.oauth_initiated_logon_type = idp_initiated
6+
management.oauth_scopes = openid profile rabbitmq.*
67
management.oauth_provider_url = http://fakeportal:3000
78

89
auth_oauth2.resource_server_id = rabbitmq

deps/rabbitmq_management/selenium/test/oauth/rabbitmq-localhost.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ management.oauth_provider_url = http://localhost:8080
1010
auth_oauth2.resource_server_id = rabbitmq
1111
auth_oauth2.preferred_username_claims.1 = user_name
1212
auth_oauth2.default_key = legacy-token-key
13-
auth_oauth2.jwks_url = http://localhost:8080/token_keys
13+
auth_oauth2.signing_keys.legacy-token-key = deps/rabbitmq_management/selenium/test/oauth/uaa-localhost/signing-key.pem
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-----BEGIN PUBLIC KEY-----
2+
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2dP+vRn+Kj+S/oGd49kq
3+
6+CKNAduCC1raLfTH7B3qjmZYm45yDl+XmgK9CNmHXkho9qvmhdksdzDVsdeDlhK
4+
IdcIWadhqDzdtn1hj/22iUwrhH0bd475hlKcsiZ+oy/sdgGgAzvmmTQmdMqEXqV2
5+
B9q9KFBmo4Ahh/6+d4wM1rH9kxl0RvMAKLe+daoIHIjok8hCO4cKQQEw/ErBe4SF
6+
2cr3wQwCfF1qVu4eAVNVfxfy/uEvG3Q7x005P3TcK+QcYgJxav3lictSi5dyWLgG
7+
QAvkknWitpRK8KVLypEj5WKej6CF8nq30utn15FQg0JkHoqzwiCqqeen8GIPteI7
8+
VwIDAQAB
9+
-----END PUBLIC KEY-----
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-----BEGIN PUBLIC KEY-----
2+
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2dP+vRn+Kj+S/oGd49kq
3+
6+CKNAduCC1raLfTH7B3qjmZYm45yDl+XmgK9CNmHXkho9qvmhdksdzDVsdeDlhK
4+
IdcIWadhqDzdtn1hj/22iUwrhH0bd475hlKcsiZ+oy/sdgGgAzvmmTQmdMqEXqV2
5+
B9q9KFBmo4Ahh/6+d4wM1rH9kxl0RvMAKLe+daoIHIjok8hCO4cKQQEw/ErBe4SF
6+
2cr3wQwCfF1qVu4eAVNVfxfy/uEvG3Q7x005P3TcK+QcYgJxav3lictSi5dyWLgG
7+
QAvkknWitpRK8KVLypEj5WKej6CF8nq30utn15FQg0JkHoqzwiCqqeen8GIPteI7
8+
VwIDAQAB
9+
-----END PUBLIC KEY-----

deps/rabbitmq_management/test/config_schema_SUITE_data/rabbitmq_management.snippets

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,16 +620,16 @@
620620
management.oauth_provider_url = http://localhost:8080
621621
management.oauth_client_id = rabbitmq_client_code
622622
management.oauth_client_secret = rabbitmq_client_secret
623-
management.oauth_scopes = openid profile
624-
management.oauth_initiated_logon_type = sp_initiated",
623+
management.oauth_scopes = openid profile rabbitmq.*
624+
management.oauth_initiated_logon_type = idp_initiated",
625625
[
626626
{rabbitmq_management, [
627627
{oauth_enabled, true},
628628
{oauth_provider_url, "http://localhost:8080"},
629629
{oauth_client_id, "rabbitmq_client_code"},
630630
{oauth_client_secret, "rabbitmq_client_secret"},
631-
{oauth_scopes, "openid profile"},
632-
{oauth_initiated_logon_type, sp_initiated}
631+
{oauth_scopes, "openid profile rabbitmq.*"},
632+
{oauth_initiated_logon_type, idp_initiated}
633633
]}
634634
], [rabbitmq_management]
635635
}

0 commit comments

Comments
 (0)