Skip to content

Commit f894f29

Browse files
Configure authz-messaging to test opaque tokens
1 parent 14063dc commit f894f29

File tree

6 files changed

+46
-3
lines changed

6 files changed

+46
-3
lines changed

selenium/suites/authnz-messaging/auth-oauth-backend-with-opaque-tokens.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44

55
TEST_CASES_PATH=/authnz-msg-protocols
6-
PROFILES="spring oauth-prodproducer auth-oauth-spring auth_backends-oauth-opaque "
6+
PROFILES="spring oauth-producer auth-oauth-spring auth_backends-oauth-opaque "
77

88
source $SCRIPT/../../bin/suite_template
99
runWith spring
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
server:
2+
port: 8443
3+
ssl:
4+
bundle: spring-authorizationserver
5+
6+
spring:
7+
ssl:
8+
bundle:
9+
jks:
10+
spring-authorizationserver:
11+
key:
12+
alias: server-spring-tls
13+
password: foobar
14+
keystore:
15+
location: /config/server_spring.jks
16+
password: foobar
17+
type: PKCS12
18+
security:
19+
oauth2:
20+
authorizationserver:
21+
client:
22+
producer:
23+
registration:
24+
provider: spring
25+
client-id: producer
26+
client-secret: producer
27+
authorization-grant-types:
28+
- client_credentials
29+
client-authentication-methods:
30+
- client_secret_basic
31+
token-settings:
32+
access-token-format: reference
33+
scopes:
34+
- rabbitmq.configure:*/*
35+
- rabbitmq.read:*/*
36+
- rabbitmq.write:*/*
37+
client-name: producer
38+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[ client_alt_names ]
2+
email.1 = rabbit_client@localhost
3+
URI.1 = rabbit_client_id_uri
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export OAUTH_PROVIDER_URL=https://spring:8443/
2+
export OAUTH_NODE_EXTRA_CA_CERTS=spring/ca_spring_certificate.pem

selenium/test/authnz-msg-protocols/env.auth-oauth-spring.docker

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export OAUTH_CLIENT_ID=producer
2+
export OAUTH_CLIENT_SECRET=producer

0 commit comments

Comments
 (0)