Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Connecting WordPress with Nextcloud

    WordPress (Managed)
    3
    8
    3535
    Loading More Posts
    • 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
      cyberfreakde last edited by

      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.

      jimcavoli 1 Reply Last reply Reply Quote 0
      • jimcavoli
        jimcavoli App Dev @cyberfreakde last edited by

        @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 Reply Quote 0
        • C
          cyberfreakde @jimcavoli last edited by

          @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? 🤔

          jimcavoli 1 Reply Last reply Reply Quote 0
          • jimcavoli
            jimcavoli App Dev @cyberfreakde last edited by

            @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 Reply Quote 1
            • C
              cyberfreakde @jimcavoli last edited by

              @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.

              jimcavoli 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

                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 Reply Quote 2
                • jimcavoli
                  jimcavoli App Dev @cyberfreakde last edited by

                  @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 Reply Quote 1
                  • C
                    cyberfreakde @girish last edited by

                    @girish Thanks, I will try it out.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB