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 2.1k 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 Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #2

    This was implemented a while ago - https://git.cloudron.io/packages/nextcloud-app/-/tree/oidc . We have to bite the bullet and push the migration . Nextcloud updates like this always worry me, it's so much work (mostly support) 😕 100% sure something breaks

    andreasduerenA 1 Reply Last reply
    5
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #3

      I tried looking up which oidc plugin for Nextcloud I last gave a try, but I was unable to find which one it was.

      In the end I needed to disable the plugin as Nextcloud kept constantly logging me out of all my sessions. So before you roll the update out I would recommend to make a long term test with all the apps that are part of the Nextcloud eco system (Desktop apps, apps on mobile for Nextcloud itself, but also Talk, etc).

      1 Reply Last reply
      2
      • girishG girish

        This was implemented a while ago - https://git.cloudron.io/packages/nextcloud-app/-/tree/oidc . We have to bite the bullet and push the migration . Nextcloud updates like this always worry me, it's so much work (mostly support) 😕 100% sure something breaks

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

        @girish Is this integrated in the package yet? I'm currently using the social login plugin which works more or less but I'd love to migrate

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

          @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 1 Reply Last reply
          4
          • M Offline
            M Offline
            malvim
            wrote on last edited by
            #6

            It sure is a lot of testing for stuff that is not supported by nextcloud itself... 😞

            I myself use the nextcloud mobile app for some things. No idea how it works with OIDC...

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