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. Dolibarr
  3. Dolibarr OIDC

Dolibarr OIDC

Scheduled Pinned Locked Moved Solved Dolibarr
11 Posts 3 Posters 635 Views 3 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 Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #2

    It is on our list, but the OAuth2 integration which we have to use here still has issues. We keep an eye on that though!

    1 Reply Last reply
    2
    • C Offline
      C Offline
      charlesnw
      wrote on last edited by
      #3

      IMG_2313.jpeg

      Looks like it’s OIDC ?

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

        @vladimir.d has looked into this these days, he may have more insights. However you can also try to get it to work as a Cloudron OpenID client and if it works let us know, then we can integrate it into the package quickly. So far we hit issues around OAuth grants if I recall correctly.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          charlesnw
          wrote on last edited by
          #5

          I will wait for @vladimir.d to reply 🙂 Otherwise I'll attempt to set it up as a Cloudron OIDC client in next couple days.

          1 Reply Last reply
          1
          • C Offline
            C Offline
            charlesnw
            wrote on last edited by
            #6

            Hello all.

            I have :

            • Edited the conf file:

            $dolibarr_main_authentication='openid_connect,dolibarr';

            • Enabled the OpenID module:

            image.png

            (I suppose when the package is deployed, you'll want that module enabled by default?) https://www.dolibarr.org/forum/t/help-needed-using-doli-enable-modules-in-docker-installation/29945 seems relevant for that.

            I am now at the settings screen:

            image.png

            Hopefully I will shortly have OIDC working. Once I do, should I send some kind of pull request or?

            1 Reply Last reply
            0
            • C Offline
              C Offline
              charlesnw
              wrote on last edited by
              #7

              If anyone has some time to help me hack on this, it would be greatly appreciated.

              I attempted to map the Dollibar OIDC bits to the Cloudron OpenID fields. Not sure if I got it correct. Also, I suppose that the sync script will need to be run even with OIDC?

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

                @vladimir.d also has a branch with an attempt to get it working at https://git.cloudron.io/packages/dolibarr-app/-/tree/oidc-v21?ref_type=heads

                1 Reply Last reply
                0
                • vladimir.dV Offline
                  vladimir.dV Offline
                  vladimir.d
                  wrote on last edited by
                  #9

                  Unfortunately I'm not sure if OpenID auth is working properly in Dolibarr at the moment.
                  We are facing into same errors as explained at https://github.com/Dolibarr/dolibarr/issues/33974

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    charlesnw
                    wrote on last edited by
                    #10

                    Can you share a config which will get me to that error? I’m happy to troubleshoot it.

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      charlesnw
                      wrote on last edited by
                      #11

                      I see the latest Cloudron Dolibarr update supports OIDC! Thanks! This is awesome. It was my last app to not support OIDC login.

                      1 Reply Last reply
                      1
                      • 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