Skip to content

Commit 44c8f5d

Browse files
committed
feat: add client-id into docker-compose
1 parent 2436e18 commit 44c8f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
EMQX_AUTHENTICATION__1__ENABLE: "true"
1616
EMQX_AUTHENTICATION__1__METHOD: "post"
1717
EMQX_AUTHENTICATION__1__URL: "http://soteria:9999/v2/auth"
18-
EMQX_AUTHENTICATION__1__BODY: '{"username" = "$${username}", "password" = "$${password}", "token" = "$${username}"}'
18+
EMQX_AUTHENTICATION__1__BODY: '{"username" = "$${username}", "password" = "$${password}", "token" = "$${username}", "client_id" = "$${clientid}"}'
1919
EMQX_AUTHORIZATION__NO_MATCH: deny
2020
EMQX_AUTHORIZATION__DENY_ACTION: disconnect
2121
EMQX_AUTHORIZATION__SOURCES__1__TYPE: http

0 commit comments

Comments
 (0)