Skip to content

Commit 7a7d9b4

Browse files
Use 0.0.9 version of spring
1 parent 57b73d3 commit 7a7d9b4

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

deps/oauth2_client/src/oauth2_client.erl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ introspect_token(Token) ->
7070
Options = [],
7171
Response = httpc:request(post, {URL, Header, Type, Body}, HTTPOptions, Options),
7272
case parse_introspect_token_response(Response) of
73-
{error, _} = Error -> Error;
74-
{ok, _} = Ret -> Ret
73+
{error, _} = Error ->
74+
Error;
75+
{ok, _} = Ret ->
76+
?LOG_DEBUG("Received introspected token: ~p", [Ret]),
77+
Ret
7578
end;
7679
{error, _} = Error -> Error
7780
end.

selenium/bin/components/spring

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
SPRING_DOCKER_IMAGE=${SPRING_DOCKER_IMAGE:-pivotalrabbitmq/spring-authorization-server:0.0.7}
3+
SPRING_DOCKER_IMAGE=${SPRING_DOCKER_IMAGE:-pivotalrabbitmq/spring-authorization-server:0.0.9}
44

55
ensure_spring() {
66
if docker ps | grep spring &> /dev/null; then

selenium/test/oauth/spring/application.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ spring:
2323
- username: rabbitmq_management
2424
password: rabbitmq_management
2525
scopes:
26-
- openid
27-
- profile
2826
- rabbitmq.read:*/*
2927
- rabbitmq.write:*/*
3028
- rabbitmq.configure:*/*
@@ -34,16 +32,12 @@ spring:
3432
- username: rabbit_no_management
3533
password: rabbit_no_management
3634
scopes:
37-
- openid
38-
- profile
3935
- rabbitmq.read:*/*
4036
audiencies:
4137
- rabbitmq
4238
- username: rabbit_admin
4339
password: rabbit_admin
4440
scopes:
45-
- openid
46-
- profile
4741
- rabbitmq.tag:administrator
4842
audiencies:
4943
- rabbitmq
@@ -124,8 +118,6 @@ spring:
124118
- "${RABBITMQ_SCHEME}://${RABBITMQ_HOST}${RABBITMQ_PATH}/"
125119
scopes:
126120
- openid
127-
- profile
128-
- rabbitmq.tag:administrator
129-
- rabbitmq.tag:management
121+
- profile
130122
client-name: rabbitmq_client_code
131123

0 commit comments

Comments
 (0)