Skip to content

Commit 6b8c7ff

Browse files
Add selenium set for opaque tokens
1 parent 69e61f3 commit 6b8c7ff

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4+
5+
TEST_CASES_PATH=/oauth/with-sp-initiated
6+
TEST_CONFIG_PATH=/oauth
7+
PROFILES="spring spring-oauth-provider tls opaque-token"
8+
9+
source $SCRIPT/../../bin/suite_template $@
10+
runWith spring

selenium/test/oauth/spring/application.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,27 @@ spring:
4343
- profile
4444
- rabbitmq.tag:management
4545
client-name: mgt_api_client
46+
rabbitmq_client_code_opaque:
47+
registration:
48+
provider: spring
49+
client-id: rabbitmq_client_code_opaque
50+
require-proof-key: true
51+
token-settings:
52+
access-token-format: reference
53+
authorization-grant-types:
54+
- authorization_code
55+
client-authentication-methods:
56+
- none
57+
redirect-uris:
58+
- "${RABBITMQ_SCHEME}://${RABBITMQ_HOST}${RABBITMQ_PATH}/js/oidc-oauth/login-callback.html"
59+
post-logout-redirect-uris:
60+
- "${RABBITMQ_SCHEME}://${RABBITMQ_HOST}${RABBITMQ_PATH}/"
61+
scopes:
62+
- openid
63+
- profile
64+
- rabbitmq.tag:administrator
65+
- rabbitmq.tag:management
66+
client-name: rabbitmq_client_code_opaque
4667
rabbitmq_client_code:
4768
registration:
4869
provider: spring

0 commit comments

Comments
 (0)