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. Outline
  3. Google Login challenges

Google Login challenges

Scheduled Pinned Locked Moved Outline
10 Posts 4 Posters 872 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.
  • S Offline
    S Offline
    sparkwise
    wrote on last edited by
    #1

    I closely followed the instructions to set up Google Login, but after setting variables and restarting the app still see an invalid-authentication error upon logging in. Interested to hear if others have had success with this.

    Screenshot 2023-11-08 at 10.36.54 PM.png

    {  
      "error":"Validation error",
      "level":"error",
      "message":"Error during authentication",
      "stack":"UnauthorizedError: Validation error
               at InvalidAuthenticationError (/app/code/build/server/errors.js:46:34)
               at accountProvisioner (/app/code/build/server/commands/accountProvisioner.js:59:54)
               at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"
    }
    
    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      I have to say the main error and subtext of the error does not match. It says authentication failed but the explanation seems like authorization failed (but authentication succeeded). Maybe you can ask upstream what this error means?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sparkwise
        wrote on last edited by
        #3

        Thanks. Question posted upstream (https://github.com/outline/outline/discussions/6130)

        1 Reply Last reply
        1
        • scookeS Offline
          scookeS Offline
          scooke
          wrote on last edited by
          #4

          Guys, I hate to say this, but this sort of problem has long been a hurdle to self-hosting Outline. The effort and focus that went into getting it ready to Cloudron is admirable and laudable, but I don't have high hopes that enough people are going to find this useful and usable.

          A life lived in fear is a life half-lived

          girishG 2 Replies Last reply
          0
          • scookeS scooke

            Guys, I hate to say this, but this sort of problem has long been a hurdle to self-hosting Outline. The effort and focus that went into getting it ready to Cloudron is admirable and laudable, but I don't have high hopes that enough people are going to find this useful and usable.

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @scooke atm, it works well with Cloudron OIDC. I do agree that making it work with Google SSO can be quite a stretch though.

            1 Reply Last reply
            2
            • scookeS scooke

              Guys, I hate to say this, but this sort of problem has long been a hurdle to self-hosting Outline. The effort and focus that went into getting it ready to Cloudron is admirable and laudable, but I don't have high hopes that enough people are going to find this useful and usable.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @scooke Spoke too soon 😄 Already have a bug in our first update - https://github.com/outline/outline/issues/6153

              1 Reply Last reply
              2
              • S Offline
                S Offline
                sparkwise
                wrote on last edited by
                #7

                I wanted to post an update on this based on this response to my post on the Outline repo...

                The authentication_providers database record for Cloudron OIDC and for Google Login need the same providerId value (i.e., email domain), but only one can have it set.

                I confirmed that if a fresh Outline installation specifies that account management should be left up to the application does work properly with Google Login (assuming GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are set in env.sh file.)

                Ideally, Cloudron login and Google Login options would co-exist, but this isn't strictly necessary in our case.

                girishG 1 Reply Last reply
                2
                • S sparkwise

                  I wanted to post an update on this based on this response to my post on the Outline repo...

                  The authentication_providers database record for Cloudron OIDC and for Google Login need the same providerId value (i.e., email domain), but only one can have it set.

                  I confirmed that if a fresh Outline installation specifies that account management should be left up to the application does work properly with Google Login (assuming GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are set in env.sh file.)

                  Ideally, Cloudron login and Google Login options would co-exist, but this isn't strictly necessary in our case.

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @sparkwise strange.. the oidc and google variables should not interfere with each other 🤷

                  1 Reply Last reply
                  1
                  • M Offline
                    M Offline
                    marylou
                    wrote on last edited by
                    #9

                    Unfortunately, I can confirm that Cloudron and Google logins cannot co-exist.

                    S 1 Reply Last reply
                    0
                    • M marylou

                      Unfortunately, I can confirm that Cloudron and Google logins cannot co-exist.

                      S Offline
                      S Offline
                      sparkwise
                      wrote on last edited by
                      #10

                      @marylou Where we ended up landing: both buttons are visible but only Google Login button gets used. Not perfect, but the app is fantastic.

                      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