Skip to content

Commit 40d2202

Browse files
Fix issue signing token
1 parent 9b4dfbe commit 40d2202

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

deps/oauth2_client/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PROJECT = oauth2_client
22
PROJECT_DESCRIPTION = OAuth2 client from the RabbitMQ Project
33

44
BUILD_DEPS = rabbit
5-
DEPS = rabbit_common jose
5+
DEPS = rabbit_common jose base64url
66
TEST_DEPS = rabbitmq_ct_helpers cowboy
77
LOCAL_DEPS = ssl inets crypto public_key
88

deps/rabbitmq_management/test/rabbit_mgmt_wm_auth_SUITE.erl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,11 @@ init_per_testcase(Testcase, Config) when Testcase =:= introspect_opaque_token_re
709709

710710
ok = rabbit_ct_broker_helpers:rpc(Config, 0, application, set_env,
711711
[rabbitmq_auth_backend_oauth2, key_config, [{cacertfile, CaCertFile}]]),
712-
712+
713+
ok = rabbit_ct_broker_helpers:rpc(Config, 0, application, set_env,
714+
[rabbitmq_auth_backend_oauth2, opaque_token_signing_key,
715+
#{ id => <<"rabbit_key">>, type => hs256, key => <<"some-key">>}]),
716+
713717
rabbit_ct_helpers:testcase_started(Config, Testcase);
714718

715719
init_per_testcase(Testcase, Config) ->

0 commit comments

Comments
 (0)