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. Nextcloud
  3. OIDC for Nextcloud?

OIDC for Nextcloud?

Scheduled Pinned Locked Moved Nextcloud
26 Posts 6 Posters 1.6k Views 6 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.
    • girishG girish

      @fbartels I think we use https://github.com/nextcloud/user_oidc . You are right about the testing, this is why it's not merged yet . There's too many things to test ...

      @andreasdueren the work has been done but it's not integrated yet.

      jdaviescoatesJ Online
      jdaviescoatesJ Online
      jdaviescoates
      wrote on last edited by
      #7

      @girish said in OIDC for Nextcloud?:

      @fbartels I think we use https://github.com/nextcloud/user_oidc . You are right about the testing, this is why it's not merged yet . There's too many things to test ...

      @andreasdueren the work has been done but it's not integrated yet.

      Perhaps create a new unstable experimental Nexcloud-OIDC package that has OIDC baked in and let us all do the testing? 🙂

      I use Cloudron with Gandi & Hetzner

      girishG 1 Reply Last reply
      2
      • jdaviescoatesJ jdaviescoates

        @girish said in OIDC for Nextcloud?:

        @fbartels I think we use https://github.com/nextcloud/user_oidc . You are right about the testing, this is why it's not merged yet . There's too many things to test ...

        @andreasdueren the work has been done but it's not integrated yet.

        Perhaps create a new unstable experimental Nexcloud-OIDC package that has OIDC baked in and let us all do the testing? 🙂

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

        @jdaviescoates yes, absolutely, that is the plan . To enable both OIDC and LDAP in the same package and allow willing users to test OIDC by setting some flag somewhere.

        andreasduerenA 2 Replies Last reply
        3
        • girishG girish

          @jdaviescoates yes, absolutely, that is the plan . To enable both OIDC and LDAP in the same package and allow willing users to test OIDC by setting some flag somewhere.

          andreasduerenA Offline
          andreasduerenA Offline
          andreasdueren
          wrote on last edited by
          #9

          @girish I'm about to set up a new NC instance and would love to have this integrated sooner than later so I can onboard people with it directly instead of having to migrate them later on. 🙂

          1 Reply Last reply
          2
          • girishG girish

            @jdaviescoates yes, absolutely, that is the plan . To enable both OIDC and LDAP in the same package and allow willing users to test OIDC by setting some flag somewhere.

            andreasduerenA Offline
            andreasduerenA Offline
            andreasdueren
            wrote on last edited by
            #10

            @girish is there maybe a way to enable OIDC in the package but leave it disabled for people to enable it manually?

            girishG 1 Reply Last reply
            0
            • andreasduerenA andreasdueren

              @girish is there maybe a way to enable OIDC in the package but leave it disabled for people to enable it manually?

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

              @andreasdueren the work is there in this branch - https://git.cloudron.io/packages/nextcloud-app/-/tree/oidc but we haven't tested it. It will take some time to test and publish it. Will try to get it out next week.

              andreasduerenA 1 Reply Last reply
              3
              • girishG girish

                @andreasdueren the work is there in this branch - https://git.cloudron.io/packages/nextcloud-app/-/tree/oidc but we haven't tested it. It will take some time to test and publish it. Will try to get it out next week.

                andreasduerenA Offline
                andreasduerenA Offline
                andreasdueren
                wrote on last edited by
                #12

                @girish thank you that would be amazing. Let me know if you need help testing

                1 Reply Last reply
                2
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #13

                  @andreasdueren unfortunately, the oidc plugin broke - https://github.com/nextcloud/user_oidc/issues/1024

                  1 Reply Last reply
                  2
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #14

                    @andreasdueren this is pushed as unstable now.

                    It will be in unstable for a while since I am on/off because am traveling for FOSDEM.

                    andreasduerenA 1 Reply Last reply
                    3
                    • girishG girish

                      @andreasdueren this is pushed as unstable now.

                      It will be in unstable for a while since I am on/off because am traveling for FOSDEM.

                      andreasduerenA Offline
                      andreasduerenA Offline
                      andreasdueren
                      wrote on last edited by andreasdueren
                      #15

                      @girish sweeeeet, will test this right now

                      Edit: Is there a way to pass Full name and E-Mail via OpenID? That's something I had been struggling with with my other setup as well.

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

                        @andreasdueren it's picked up for me by default.

                        image.png

                        andreasduerenA 1 Reply Last reply
                        1
                        • girishG girish

                          @andreasdueren it's picked up for me by default.

                          image.png

                          andreasduerenA Offline
                          andreasduerenA Offline
                          andreasdueren
                          wrote on last edited by
                          #17

                          @girish This may be a compatibility issue with my preexisting openID plugin. Testing.

                          1 Reply Last reply
                          0
                          • andreasduerenA Offline
                            andreasduerenA Offline
                            andreasdueren
                            wrote on last edited by
                            #18

                            Currently getting this. It's a pretty fresh installation so not sure what's going on yet.

                            Screenshot 2025-01-26 at 11.38.54.png

                            J 1 Reply Last reply
                            0
                            • andreasduerenA andreasdueren

                              Currently getting this. It's a pretty fresh installation so not sure what's going on yet.

                              Screenshot 2025-01-26 at 11.38.54.png

                              J Offline
                              J Offline
                              joseph
                              Staff
                              wrote on last edited by joseph
                              #19

                              @andreasdueren if we take that error at face value, it's unable to connect to my.domain.com . Can you check from web terminal of nextcloud, if you are able to curl https://my.domain.com/.well-known/openid-configuration ?

                              Also, do other oidc apps work?

                              andreasduerenA 1 Reply Last reply
                              3
                              • J joseph

                                @andreasdueren if we take that error at face value, it's unable to connect to my.domain.com . Can you check from web terminal of nextcloud, if you are able to curl https://my.domain.com/.well-known/openid-configuration ?

                                Also, do other oidc apps work?

                                andreasduerenA Offline
                                andreasduerenA Offline
                                andreasdueren
                                wrote on last edited by
                                #20

                                @Joseph curl works. So does oidc on another app.

                                1 Reply Last reply
                                1
                                • J Offline
                                  J Offline
                                  joseph
                                  Staff
                                  wrote on last edited by
                                  #21

                                  @andreasdueren can you also check if you can curl the openid-configuration from web terminal of nextcloud? do you see any errors in nextcloud logs? everything looks correct otherwise...

                                  andreasduerenA jdaviescoatesJ 2 Replies Last reply
                                  0
                                  • J joseph

                                    @andreasdueren can you also check if you can curl the openid-configuration from web terminal of nextcloud? do you see any errors in nextcloud logs? everything looks correct otherwise...

                                    andreasduerenA Offline
                                    andreasduerenA Offline
                                    andreasdueren
                                    wrote on last edited by
                                    #22

                                    @Joseph You mean curl https://my.domain.com/.well-known/openid-configuration? Yes that's what I tested. Returned values as expected.

                                    1 Reply Last reply
                                    0
                                    • J joseph

                                      @andreasdueren can you also check if you can curl the openid-configuration from web terminal of nextcloud? do you see any errors in nextcloud logs? everything looks correct otherwise...

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

                                      @andreasdueren you may have already done this but I think the key bit of info was this:

                                      @joseph said in OIDC for Nextcloud?:

                                      from web terminal of nextcloud

                                      (emphasis added)

                                      I use Cloudron with Gandi & Hetzner

                                      andreasduerenA 1 Reply Last reply
                                      2
                                      • jdaviescoatesJ jdaviescoates

                                        @andreasdueren you may have already done this but I think the key bit of info was this:

                                        @joseph said in OIDC for Nextcloud?:

                                        from web terminal of nextcloud

                                        (emphasis added)

                                        andreasduerenA Offline
                                        andreasduerenA Offline
                                        andreasdueren
                                        wrote on last edited by
                                        #24

                                        @jdaviescoates Yes, I did that (emphasis added) ☺

                                        1 Reply Last reply
                                        1
                                        • J Offline
                                          J Offline
                                          joseph
                                          Staff
                                          wrote on last edited by
                                          #25

                                          @andreasdueren I am out of ideas if there is nothing in the logs and the curl works... can you drop a mail to support@cloudron.io please, so we can debug it?

                                          andreasduerenA 1 Reply Last reply
                                          2
                                          • J joseph

                                            @andreasdueren I am out of ideas if there is nothing in the logs and the curl works... can you drop a mail to support@cloudron.io please, so we can debug it?

                                            andreasduerenA Offline
                                            andreasduerenA Offline
                                            andreasdueren
                                            wrote on last edited by
                                            #26

                                            @Joseph It's not super urgent right now, this is only a test instance I spun up and I'm traveling right now. I might reach out at a later point in time.

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