File tree Expand file tree Collapse file tree 4 files changed +28
-2
lines changed Expand file tree Collapse file tree 4 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
55TEST_CASES_PATH=/oauth/with-sp-initiated
66TEST_CONFIG_PATH=/oauth
7- PROFILES=" spring spring-oauth-provider spring-mgt-oauth-provider tls"
7+ PROFILES=" spring spring-oauth-provider tls"
88
99source $SCRIPT /../../bin/suite_template $@
1010runWith spring
Original file line number Diff line number Diff line change 1+ export OAUTH_SERVER_CONFIG_DIR=${OAUTH_SERVER_CONFIG_BASEDIR}/oauth/spring
2+ export OAUTH_SCOPES="openid profile rabbitmq.tag:management"
Original file line number Diff line number Diff line change 1+ auth_oauth2.issuer = ${SPRING_URL}
2+ auth_oauth2.https.cacertfile = ${SPRING_CA_CERT}
Original file line number Diff line number Diff line change @@ -15,4 +15,26 @@ spring:
1515 location : /config/server_spring.jks
1616 password : foobar
1717 type : PKCS12
18-
18+ security :
19+ oauth2 :
20+ client :
21+ registration :
22+ mgt_api_client :
23+ provider : spring
24+ client-id : mgt_api_client
25+ authorization-grant-type : client_credentials
26+ scopes :
27+ - openid
28+ - profile
29+ - rabbitmq.tag:management
30+ client-name : mgt_api_client
31+ rabbitmq_client_code :
32+ provider : spring
33+ client-id : rabbitmq_client_code
34+ authorization-grant-type : authorization_code
35+ redirect-uri : " https://localhost:15671/js/oidc-oauth/login-callback.html"
36+ scopes :
37+ - openid
38+ - profile
39+ - rabbitmq.tag:administrator
40+ client-name : rabbitmq_client_code
You can’t perform that action at this time.
0 commit comments