Skip to content

Commit 65d5536

Browse files
Fix bug updating secret when opaque token is invalid
1 parent 860bfb4 commit 65d5536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_auth_backend_oauth2/src/rabbit_auth_backend_oauth2.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ update_state(AuthUser, NewToken) ->
148148
end
149149
end
150150
end;
151-
{error, Error} -> {refused, "Unable to introspect token: ~p", [Error]}
151+
{error, Error} -> {refused, "Unable to introspect token"}
152152
end.
153153

154154
expiry_timestamp(#auth_user{impl = DecodedTokenFun}) ->

0 commit comments

Comments
 (0)