Skip to content

Commit

Permalink
Allow ULMS service to create dynamic subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
manifest committed Jun 14, 2024
1 parent 67b9349 commit 1321b0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mqttgw_http_subscription.erl
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ check_authz(<<"Bearer ",Token/binary>>, {enabled, AuthnCfg}) ->
case maps:find(label, AccountId) of
{ok, <<"conference">>} -> {ok, AccountId};
{ok, <<"event">>} -> {ok, AccountId};
{ok, <<"ulms">>} -> {ok, AccountId};
_ -> {error, #{reason_code => not_allowed}}
end
catch
Expand Down

0 comments on commit 1321b0b

Please sign in to comment.