Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. MiroTalk
  3. Host Users not defined in env

Host Users not defined in env

Scheduled Pinned Locked Moved MiroTalk
mirotalkconfiguration
6 Posts 4 Posters 75 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kmz010101
    wrote last edited by james
    #1

    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: [ '*' ]
    
    MiroTalkM 1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @kmz010101
      Did you install the app with the following option?

      image.png
      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.

      avatar1024A 1 Reply Last reply
      1
      • jamesJ james

        Hello @kmz010101
        Did you install the app with the following option?

        image.png
        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.

        avatar1024A Offline
        avatar1024A Offline
        avatar1024
        wrote last edited by avatar1024
        #3

        @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.

        1 Reply Last reply
        2
        • K Offline
          K Offline
          kmz010101
          wrote last edited by
          #4

          Thanks for the tips, but oidc is already diabled in the env. Perhaps I will try to reinstall it with the other User settings. The strange thing is it worked bevore they changed it to env deployment

          1 Reply Last reply
          0
          • K kmz010101

            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: [ '*' ]
            
            MiroTalkM Offline
            MiroTalkM Offline
            MiroTalk
            wrote last edited by
            #5

            @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.

            1 Reply Last reply
            1
            • K Offline
              K Offline
              kmz010101
              wrote last edited by
              #6

              I tried it but it didn't work. I set up a ne instance und selected user management by the app. And now it works with the new instance.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search