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. MiroTalk P2P cannot join rooms if OIDC user is same as .env user

MiroTalk P2P cannot join rooms if OIDC user is same as .env user

Scheduled Pinned Locked Moved MiroTalk
10 Posts 5 Posters 270 Views 5 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #1

    Since I somehow ended up in this configuration, the workaround was to edit the username in the .env file so it's not the same.

    @mirotalk-57bab571 can it be made to work with local host auth first before checking OIDC where credentials won't match?

    Conscious tech

    MiroTalkM 1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote on last edited by
      #2

      Hello @robi
      Could you please describe the issue a bit more in detail?
      A step-by-step guide for reproduction will significantly improve the time of resolving your issue.

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

        Yeah description is a little confusing but I think what @robi means is that they allowed a user (that is not a Cloudron OIDC user) in the .env file, but that this username has the same username as a OIDC user on Cloudron. As a result the user allowed manually in the .env file cannot login because the app is expecting the OIDC credentials. But yes, @robi please clarify.

        1 Reply Last reply
        2
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #4

          It's more for Miroslav who will know what to do with this, since it's his code, hence the mention.

          @avatar1024 is close, as the dup user can log in, just cannot join user specified rooms. Only autogenerated ones.

          In any case, the auth flow and permissions need some TLC.

          Nothing for the Cloudron team to do.

          Conscious tech

          1 Reply Last reply
          1
          • robiR Offline
            robiR Offline
            robi
            wrote last edited by
            #5

            @mirotalk-57bab571 following up

            Conscious tech

            1 Reply Last reply
            1
            • robiR Offline
              robiR Offline
              robi
              wrote last edited by
              #6

              Is there a reason this isn't being looked at?

              Conscious tech

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

                Maybe your request about the order of auth or a fallthrough if first auth is failing, would be better reported upstream then as a feature request.

                1 Reply Last reply
                0
                • robiR robi

                  Since I somehow ended up in this configuration, the workaround was to edit the username in the .env file so it's not the same.

                  @mirotalk-57bab571 can it be made to work with local host auth first before checking OIDC where credentials won't match?

                  MiroTalkM Away
                  MiroTalkM Away
                  MiroTalk
                  wrote last edited by
                  #8

                  @robi said in MiroTalk P2P cannot join rooms if OIDC user is same as .env user:

                  Since I somehow ended up in this configuration, the workaround was to edit the username in the .env file so it's not the same.

                  Hi Robi, could you please provide the exact steps and configuration you used to reproduce the issue? Thank you!

                  robiR 1 Reply Last reply
                  2
                  • MiroTalkM MiroTalk

                    @robi said in MiroTalk P2P cannot join rooms if OIDC user is same as .env user:

                    Since I somehow ended up in this configuration, the workaround was to edit the username in the .env file so it's not the same.

                    Hi Robi, could you please provide the exact steps and configuration you used to reproduce the issue? Thank you!

                    robiR Offline
                    robiR Offline
                    robi
                    wrote last edited by
                    #9

                    @MiroTalk Sure..

                    My install is from before OIDC was available, hence my Cloudron user 'robi' was added to the .env file.

                    Some time after OIDC integration logging in was a success but not joining custom rooms.

                    Hence the need to change or remove the user 'robi' from the .env file.

                    To reproduce, set a user in .env to the same as a user in OIDC.

                    Conscious tech

                    1 Reply Last reply
                    0
                    • MiroTalkM Away
                      MiroTalkM Away
                      MiroTalk
                      wrote last edited by MiroTalk
                      #10

                      So if i understand well the issue you encountered was related to an older version of MiroTalk P2P?


                      In the latest release, I’m unable to reproduce the problem, everything seems works as expected with OIDC enabled.

                      Please update your MiroTalk P2P instance to the latest version, and let me know if the issue persists.

                      Thank you!


                      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