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. participants have to authenticate even with user_auth: false

participants have to authenticate even with user_auth: false

Scheduled Pinned Locked Moved Solved MiroTalk
26 Posts 6 Posters 4.0k Views 7 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.
  • nebulonN nebulon

    So it seems that protected and user_auth are mostly covering the same things for the case where mirotalk web is not used as a scheduler.

    This means if protected is false but user_auth true, then the login is shown while joining the room, while if protected is true, the login is shown before creating the room.

    In both cases users have to authenticate.

    Maybe we need more info from @MiroTalk here on the intended behavior or if one value only makes sens together with mirotalk web scheduler.

    imc67I Online
    imc67I Online
    imc67
    translator
    wrote on last edited by
    #10

    @nebulon on this page https://docs.mirotalk.com/mirotalk-sfu/host-protection/ it says:

    Host Protection Logic:

    If host.protected is set to true, the following logic applies:

    • Host login with username and password is required.
    • Upon successful login, the IP is saved as a valid authentication IP.
    • After authentication, the host can create a room, join a room, and share the room link.
    • All guests can join until the host logs out.
    • When the host leaves the room or exits the browser, their IP is removed from valid auth IPs to prevent unauthorized access.
    • To access it again, the host needs to provide a username and password.
    • If host.user_auth is set to true, additional authentication is required.
    imc67I 1 Reply Last reply
    1
    • imc67I imc67

      @nebulon on this page https://docs.mirotalk.com/mirotalk-sfu/host-protection/ it says:

      Host Protection Logic:

      If host.protected is set to true, the following logic applies:

      • Host login with username and password is required.
      • Upon successful login, the IP is saved as a valid authentication IP.
      • After authentication, the host can create a room, join a room, and share the room link.
      • All guests can join until the host logs out.
      • When the host leaves the room or exits the browser, their IP is removed from valid auth IPs to prevent unauthorized access.
      • To access it again, the host needs to provide a username and password.
      • If host.user_auth is set to true, additional authentication is required.
      imc67I Online
      imc67I Online
      imc67
      translator
      wrote on last edited by
      #11

      @imc67 said in participants have to authenticate even with user_auth: false:

      @nebulon on this page https://docs.mirotalk.com/mirotalk-sfu/host-protection/ it says:

      Host Protection Logic:

      If host.protected is set to true, the following logic applies:

      • Host login with username and password is required.
      • Upon successful login, the IP is saved as a valid authentication IP.
      • After authentication, the host can create a room, join a room, and share the room link.
      • All guests can join until the host logs out.
      • When the host leaves the room or exits the browser, their IP is removed from valid auth IPs to prevent unauthorized access.
      • To access it again, the host needs to provide a username and password.
      • If host.user_auth is set to true, additional authentication is required.

      @nebulon can it be that the app doesn’t use the host’s IP but the container “internal” IP like some apps do sometimes keeps asking for authentication?

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #12

        This does not really clear up things for me and I am not sure how this is IP related. Either way setting any auth/protection does show the login in my tests, as expected, and works with the users from the config file.

        Maybe I don't understand what the issue is then I guess.

        1 Reply Last reply
        0
        • imc67I imc67

          @avatar1024 said in participants have to authenticate even with user_auth: false:

          @MiroTalk said in participants have to authenticate even with user_auth: false:

          I will verify this as it is not the expected behavior.

          Have you been able to reproduce this? Or any clues what the problem might be?

          Many thanks

          @MiroTalk With the latest stable version 1.4.14 the logic still doesn't work as expected, the setting below makes also the participants to have a username / password:

          host: {
              protected: true,
              user_auth: false,
          
          imc67I Online
          imc67I Online
          imc67
          translator
          wrote on last edited by
          #13

          @nebulon

          This setting:

          host: {
              protected: true,
              user_auth: false,
          

          should make it possible to start as host an authenticated video conference and ANY participant that has the URL can join without authentication.

          According to the docs it is done by storing the IP of the host (who started the video conference)…..

          MiroTalkM 1 Reply Last reply
          1
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #14

            Ah thanks for the clarification, I missed "All guests can join until the host logs out." but yes I also alwasy get the authentication wall, so something isn't working as expected. @imc67 if you know your way around Javascript maybe you can dig through the upstream code if you have some time to help diagnose this.

            1 Reply Last reply
            0
            • MiroTalkM Offline
              MiroTalkM Offline
              MiroTalk
              wrote on last edited by
              #15

              Hi everyone, Please try it now in the MiroTalk SFU v1.4.16. If the issue persists, then as soon as I have a bit more time available, I'll take a deeper look into it.

              Any contributions to the project are always highly valued and appreciated!

              Thank you all for your involvement in MiroTalk SFU.
              We'll keep making it better with your feedback!

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #16

                @MiroTalk awesome and thanks. The new package for 1.4.16 is already published here.

                MiroTalkM 1 Reply Last reply
                0
                • nebulonN nebulon

                  @MiroTalk awesome and thanks. The new package for 1.4.16 is already published here.

                  MiroTalkM Offline
                  MiroTalkM Offline
                  MiroTalk
                  wrote on last edited by
                  #17

                  @nebulon Good, You're welcome!

                  1 Reply Last reply
                  0
                  • imc67I Online
                    imc67I Online
                    imc67
                    translator
                    wrote on last edited by
                    #18

                    I was very hopeful but it still doesn’t work as expected, the participant still needs to login while the host is online and waiting. Tested in Safari iPadOS and Safari iOS.

                    jdaviescoatesJ 1 Reply Last reply
                    1
                    • imc67I imc67

                      I was very hopeful but it still doesn’t work as expected, the participant still needs to login while the host is online and waiting. Tested in Safari iPadOS and Safari iOS.

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #19

                      @imc67 said in participants have to authenticate even with user_auth: false:

                      I was very hopeful but it still doesn’t work as expected, the participant still needs to login while the host is online and waiting. Tested in Safari iPadOS and Safari iOS.

                      And I just tested in Firefox too. Same thing.

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      1
                      • imc67I imc67

                        @nebulon

                        This setting:

                        host: {
                            protected: true,
                            user_auth: false,
                        

                        should make it possible to start as host an authenticated video conference and ANY participant that has the URL can join without authentication.

                        According to the docs it is done by storing the IP of the host (who started the video conference)…..

                        MiroTalkM Offline
                        MiroTalkM Offline
                        MiroTalk
                        wrote on last edited by
                        #20

                        @imc67 said in participants have to authenticate even with user_auth: false:

                        This setting:

                        host: {
                            protected: true,
                            user_auth: false,
                        

                        should make it possible to start as host an authenticated video conference and ANY participant that has the URL can join without authentication.

                        It should be fixed in the latest MiroTalk SFU version 1.4.18. 👈

                        1 Reply Last reply
                        3
                        • nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote on last edited by
                          #21

                          SFU version 1.4.18 package is now published

                          1 Reply Last reply
                          1
                          • imc67I Online
                            imc67I Online
                            imc67
                            translator
                            wrote on last edited by
                            #22

                            Update failed, uninstall and new install works!

                            jdaviescoatesJ 1 Reply Last reply
                            1
                            • imc67I imc67

                              Update failed, uninstall and new install works!

                              jdaviescoatesJ Offline
                              jdaviescoatesJ Offline
                              jdaviescoates
                              wrote on last edited by
                              #23

                              @imc67 said in participants have to authenticate even with user_auth: false:

                              Update failed, uninstall and new install works!

                              Great!

                              Now I just have to wait for the port conflict issue to be fixed on Cloudron (which I mistakenly thought had already happened) and then I can give it another try!

                              I use Cloudron with Gandi & Hetzner

                              1 Reply Last reply
                              0
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #24

                                @jdaviescoates port conflict issue is already fixed in 7.7.2 .

                                jdaviescoatesJ 1 Reply Last reply
                                0
                                • girishG girish

                                  @jdaviescoates port conflict issue is already fixed in 7.7.2 .

                                  jdaviescoatesJ Offline
                                  jdaviescoatesJ Offline
                                  jdaviescoates
                                  wrote on last edited by
                                  #25

                                  @girish doesn't seem that it is:

                                  8102cd28-dd82-4321-8e5a-77a368ebffa6-image.png

                                  Ah, perhaps I was just re-installing in the same place too quickly and the old install hadn't fully been cleaned up or something? (because I just hit install again and it worked) 🤷

                                  I use Cloudron with Gandi & Hetzner

                                  1 Reply Last reply
                                  1
                                  • avatar1024A Offline
                                    avatar1024A Offline
                                    avatar1024
                                    wrote on last edited by
                                    #26

                                    I can confirm that with 1.4.18 authentication now works as expected! Thank you @MiroTalk and @staff !

                                    1 Reply Last reply
                                    2
                                    • nebulonN nebulon marked this topic as a question on
                                    • nebulonN nebulon has marked this topic as solved on
                                    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