XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Google Auth Fail after after XOA update (From Sources)

    Scheduled Pinned Locked Moved Solved Management
    5 Posts 3 Posters 379 Views 2 Watching
    Loading More Posts
    • 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.
    • D Offline
      David
      last edited by

      Hi,

      We are experiencing problems logging into XOA (from sources) via Google Auth after a recent update:

      From
      Xen Orchestra, commit 996ab
      
      to
      Xen Orchestra, commit 60434
      
      

      We can see that the Google Auth plug-in has gone from v0.2.2 to v0.3.0, the issue was noticed only after a reboot. The browser error is a simple Internal Server Error, and the log shows only xo-server[1053]: Cannot read properties of undefined (reading 'id').

      I can log in with a local (non Google Auth) user.

      Has anyone else experience this and/or have any troubleshooting suggestions?

      Thanks

      pdoniasP 1 Reply Last reply Reply Quote 0
      • pdoniasP Offline
        pdonias Vates 🪐 XO Team @David
        last edited by

        @David Thanks for the report! We're fixing it: https://github.com/vatesfr/xen-orchestra/pull/7031.

        pdonias opened this pull request in vatesfr/xen-orchestra

        closed fix(xo-server-auth-google): bad argument passed to registerUser2 #7031

        D 1 Reply Last reply Reply Quote 3
        • D Offline
          David @pdonias
          last edited by

          @pdonias Thanks, I'm happy to patch my XOA when you're ready and let you know how I get on.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by olivierlambert

            Hello @David

            Just a precision: you are using either XO from the sources or XOA, not both at the same time 😉 XOA means the virtual appliance we deliver turnkey (Xen Orchestra Appliance). No biggie but we want to avoid the confusion.

            edit: also it's merged in master, so you already have the patch 🙂

            D 1 Reply Last reply Reply Quote 1
            • D Offline
              David @olivierlambert
              last edited by David

              @olivierlambert Thanks for the clarification, it is definitely from sources. Apologies I will try to remember!

              I'll patch my system a little later today.

              Edit: Patched to Xen Orchestra, commit 6953e - All good.

              Thanks, really appreciate the prompt fix!

              1 Reply Last reply Reply Quote 1
              • pdoniasP pdonias marked this topic as a question on
              • pdoniasP pdonias has marked this topic as solved on
              • olivierlambertO olivierlambert moved this topic from Xen Orchestra on
              • First post
                Last post