Host Users not defined in env
-
Hi, I want to only use authenticated users defined in the host:
I defined it like that:HOST_USERS=benutzernamehier:einschwerespasswort:*
and once like that:
HOST_USERS="benutzernamehier:einschwerespasswort:*"
and in the logs i always get:
Jul 03 11:37:52 host: { Jul 03 11:37:52 protected: true, Jul 03 11:37:52 authenticated: false, Jul 03 11:37:52 user_auth: true, Jul 03 11:37:52 users: [ Jul 03 11:37:52 { Jul 03 11:37:52 username: 'username', Jul 03 11:37:52 password: 'password', Jul 03 11:37:52 displayname: 'username display name', Jul 03 11:37:52 allowed_rooms: [ '*' ]
so it is not using the defined hosts correct.
I don't know what to do... this was with the sfu version.end even if I just copy the sample form the documentation:
HOST_PROTECTED=true HOST_USER_AUTH=true HOST_USERS="username:password:User:*|admin:admin:Admin:room1,room2|guest:guest:Guest:room1,room1" HOST_USERS_FROM_DB=false
it is only using this:
Jul 03 11:55:26 host: { Jul 03 11:55:26 protected: true, Jul 03 11:55:26 authenticated: false, Jul 03 11:55:26 user_auth: true, Jul 03 11:55:26 users: [ Jul 03 11:55:26 { Jul 03 11:55:26 username: 'username', Jul 03 11:55:26 password: 'password', Jul 03 11:55:26 displayname: 'username display name', Jul 03 11:55:26 allowed_rooms: [ '*' ]
-
Hello @kmz010101
Did you install the app with the following option?
If so, OIDC will always be used even with that configuration.If you truly wish to use this config you need to install with the
Leave user management to the app
option at installation. -
Hello @kmz010101
Did you install the app with the following option?
If so, OIDC will always be used even with that configuration.If you truly wish to use this config you need to install with the
Leave user management to the app
option at installation.@james said in Host Users not defined in env:
If so, OIDC will always be used even with that configuration.
I'm not sure this is correct.
You can disable IODC in the env config file:
OIDC_ENABLED=false
Then "I guess" you can use the host user config.
-
Hi, I want to only use authenticated users defined in the host:
I defined it like that:HOST_USERS=benutzernamehier:einschwerespasswort:*
and once like that:
HOST_USERS="benutzernamehier:einschwerespasswort:*"
and in the logs i always get:
Jul 03 11:37:52 host: { Jul 03 11:37:52 protected: true, Jul 03 11:37:52 authenticated: false, Jul 03 11:37:52 user_auth: true, Jul 03 11:37:52 users: [ Jul 03 11:37:52 { Jul 03 11:37:52 username: 'username', Jul 03 11:37:52 password: 'password', Jul 03 11:37:52 displayname: 'username display name', Jul 03 11:37:52 allowed_rooms: [ '*' ]
so it is not using the defined hosts correct.
I don't know what to do... this was with the sfu version.end even if I just copy the sample form the documentation:
HOST_PROTECTED=true HOST_USER_AUTH=true HOST_USERS="username:password:User:*|admin:admin:Admin:room1,room2|guest:guest:Guest:room1,room1" HOST_USERS_FROM_DB=false
it is only using this:
Jul 03 11:55:26 host: { Jul 03 11:55:26 protected: true, Jul 03 11:55:26 authenticated: false, Jul 03 11:55:26 user_auth: true, Jul 03 11:55:26 users: [ Jul 03 11:55:26 { Jul 03 11:55:26 username: 'username', Jul 03 11:55:26 password: 'password', Jul 03 11:55:26 displayname: 'username display name', Jul 03 11:55:26 allowed_rooms: [ '*' ]
@kmz010101 said in Host Users not defined in env:
and in the logs i always get:
You need to
Restart
the instance to apply the changes made in the.env
file.