diff --git a/oada/services/users/src/config.ts b/oada/services/users/src/config.ts index 95227df9..fffe0f4f 100644 --- a/oada/services/users/src/config.ts +++ b/oada/services/users/src/config.ts @@ -16,14 +16,6 @@ import libConfig from '@oada/lib-config'; const config = libConfig({ - server: { - domain: { - format: String, - default: 'localhost', - env: 'DOMAIN', - arg: 'domain', - }, - }, kafka: { topics: { userRequest: { diff --git a/oada/services/users/src/useradd.ts b/oada/services/users/src/useradd.ts index 3c4a227a..0d94a7a1 100755 --- a/oada/services/users/src/useradd.ts +++ b/oada/services/users/src/useradd.ts @@ -74,7 +74,6 @@ async function run() { trace('Sending request to kafka'); const response = ((await kafkareq.send({ connection_id: 'useradd', - domain: config.get('server.domain'), token: 'admin', authorization: { scope: ['oada.admin.user:all'],