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. WordPress (Managed)
  3. Connecting WordPress with Nextcloud

Connecting WordPress with Nextcloud

Scheduled Pinned Locked Moved WordPress (Managed)
8 Posts 3 Posters 5.1k 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.
  • C Offline
    C Offline
    cyberfreakde
    wrote on last edited by
    #1

    Does anyone has an idea on how to connect WordPress users with Nextcloud?

    I mean, when a user creates an account on wordpress it should also create a user in nextcloud.

    I don't want to use cloudron ldap because I plan to do this in a free 2 app system.

    jimcavoliJ 1 Reply Last reply
    0
    • C cyberfreakde

      Does anyone has an idea on how to connect WordPress users with Nextcloud?

      I mean, when a user creates an account on wordpress it should also create a user in nextcloud.

      I don't want to use cloudron ldap because I plan to do this in a free 2 app system.

      jimcavoliJ Offline
      jimcavoliJ Offline
      jimcavoli
      App Dev
      wrote on last edited by
      #2

      @cyberfreakde AFAIK, the way to do that easily and for free would be the other way around - NextCloud can act as a sign-in provider for WordPress with freely available plugins last I checked. The other way around means WP needs to use a custom OAuth2 setup against NextCloud, which while possible, has not been something I've seen free solutions for to date.

      C 1 Reply Last reply
      0
      • jimcavoliJ jimcavoli

        @cyberfreakde AFAIK, the way to do that easily and for free would be the other way around - NextCloud can act as a sign-in provider for WordPress with freely available plugins last I checked. The other way around means WP needs to use a custom OAuth2 setup against NextCloud, which while possible, has not been something I've seen free solutions for to date.

        C Offline
        C Offline
        cyberfreakde
        wrote on last edited by
        #3

        @jimcavoli My plan was to show WordPress as a homepage because you only see the sign-in page on Nextcloud which is not so customizable. What sense does it make if the user signs up at Nextcloud first? 🤔

        jimcavoliJ 1 Reply Last reply
        0
        • C cyberfreakde

          @jimcavoli My plan was to show WordPress as a homepage because you only see the sign-in page on Nextcloud which is not so customizable. What sense does it make if the user signs up at Nextcloud first? 🤔

          jimcavoliJ Offline
          jimcavoliJ Offline
          jimcavoli
          App Dev
          wrote on last edited by
          #4

          @cyberfreakde Perhaps https://wordpress.org/plugins/miniorange-oauth-20-server/ gets you the WP as an IdP side of things, but the OIDC plugin for NextCloud is unmaintained and about 9 major versions out of date for support. Without an obvious way to get NextCloud to look at the WP user store one way or the other, I'm not sure what options you've got for the WP -> NC direction connection.

          C 1 Reply Last reply
          1
          • jimcavoliJ jimcavoli

            @cyberfreakde Perhaps https://wordpress.org/plugins/miniorange-oauth-20-server/ gets you the WP as an IdP side of things, but the OIDC plugin for NextCloud is unmaintained and about 9 major versions out of date for support. Without an obvious way to get NextCloud to look at the WP user store one way or the other, I'm not sure what options you've got for the WP -> NC direction connection.

            C Offline
            C Offline
            cyberfreakde
            wrote on last edited by
            #5

            @jimcavoli I tried it already but it's free only for the first 10 users.
            However, I found this Nextcloud SQL user authentication: https://github.com/nextcloud/user_sql
            Now I just need to find out where I can get the Cloudron WordPress database information 🙃, do you know how to get those? In the docs I didn't find much.

            jimcavoliJ 1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              An idea might be that if there is a free OAuth provider out there, then you can connect both WordPress and Nextcloud to that instead? For example, https://auth0.com/pricing/ has 7000 users in free plan.

              C 1 Reply Last reply
              2
              • C cyberfreakde

                @jimcavoli I tried it already but it's free only for the first 10 users.
                However, I found this Nextcloud SQL user authentication: https://github.com/nextcloud/user_sql
                Now I just need to find out where I can get the Cloudron WordPress database information 🙃, do you know how to get those? In the docs I didn't find much.

                jimcavoliJ Offline
                jimcavoliJ Offline
                jimcavoli
                App Dev
                wrote on last edited by
                #7

                @cyberfreakde You can read them out of the terminal for the app - they're in the environment. env | sort | grep CLOUDRON will show you all the Cloudron variables. They technically could change from time to time though, so @girish 's suggestion of pointing both at a third-party authenticator is your better option...or Cloudron LDAP, of course

                1 Reply Last reply
                1
                • girishG girish

                  An idea might be that if there is a free OAuth provider out there, then you can connect both WordPress and Nextcloud to that instead? For example, https://auth0.com/pricing/ has 7000 users in free plan.

                  C Offline
                  C Offline
                  cyberfreakde
                  wrote on last edited by
                  #8

                  @girish Thanks, I will try it out.

                  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