Skip to content

Commit 85fa092

Browse files
Fix access-token-format configuration
And add client used to introspect tokens
1 parent a684c9f commit 85fa092

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

selenium/test/oauth/spring/application.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,40 @@ spring:
2828
- rabbitmq
2929
authorizationserver:
3030
client:
31+
introspection_client:
32+
registration:
33+
provider: spring
34+
client-id: introspection_client
35+
client-secret: "{noop}introspection_client"
36+
authorization-grant-types:
37+
- client_credentials
38+
client-authentication-methods:
39+
- client_secret_basic
40+
client-name: introspection_client
3141
mgt_api_client:
3242
registration:
3343
provider: spring
3444
client-id: mgt_api_client
45+
client-secret: "{noop}mgt_api_client"
3546
authorization-grant-types:
3647
- client_credentials
3748
client-authentication-methods:
3849
- client_secret_basic
39-
token-settings:
40-
access-token-format: reference
4150
scopes:
4251
- openid
4352
- profile
4453
- rabbitmq.tag:management
4554
client-name: mgt_api_client
55+
token:
56+
access-token-format: reference
4657
rabbitmq_client_code_opaque:
4758
registration:
4859
provider: spring
4960
client-id: rabbitmq_client_code_opaque
61+
client-secret: "{noop}rabbitmq_client_code_opaque"
5062
require-proof-key: true
5163
token-settings:
52-
access-token-format: reference
64+
access-token-format: reference
5365
authorization-grant-types:
5466
- authorization_code
5567
client-authentication-methods:

0 commit comments

Comments
 (0)