FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    FusionAuth with Nextcloud

    Scheduled Pinned Locked Moved Solved
    Q&A
    2
    5
    1.3k
    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.
    • J
      jbtruffault
      last edited by

      Do someone have an experience of using FusionAuth as the IDP provider for Nextcloud ?

      I am not really experienced with IDP provider, so I was expecting to find some detailed tutorial, and nothing appeared with Google ...

      Here are my thoughts:

      1. There are several nextcloud plugins to configure a SSO, so: is there one that is better than the others ?

        • SSO & SAML: https://apps.nextcloud.com/apps/user_saml
        • Social login: https://apps.nextcloud.com/apps/sociallogin
        • OpenID connext: https://apps.nextcloud.com/apps/oidc_login
      2. Do someone is experienced with configuring one of them with FusionAuth, and can he give me a link or explain me here (like I'm 5) how to configure Nextcloud and FusionAuth together ?

      Best regards !

      1 Reply Last reply Reply Quote 1
      • J
        jbtruffault @dan
        last edited by

        Finally, I used this plugin: https://github.com/nextcloud/user_oidc

        The documentation is pretty clear and pretty efficient, and now it works !

        @dan thank you for your support !

        danD 1 Reply Last reply Reply Quote 0
        • J
          jbtruffault
          last edited by jbtruffault

          I add more details to my first post

          I'm trying to make it work with the plugin Social Login: https://apps.nextcloud.com/apps/sociallogin

          1e5ab4ac-d7eb-43d4-b771-8d23984b6d55-image.png

          I created an app on FusionAuth side:
          9dba75ea-7e6d-41c2-9d55-9790f7d233dc-image.png

          I added scope=openid to the autorize URL:

          https://auth.xxx.fr/oauth2/authorize?client_id=xxxx-xxxx-xxxx-xxxx-xxxx&response_type=code&redirect_uri=https%3A%2F%2Fintranet.xxxx.fr%2Findex.php%2Fapps%2Foauth2%2Fauthorize&scope=openid

          At the end, I get a Nextcloud error, it's in french, but you probably get the idea of "Internal servor": "impossible to execute the request .."

          e0be1cba-b799-4672-9b2f-c7e3aad0068c-image.png

          Any idea of setting that I should change ?

          Best regards !

          danD 1 Reply Last reply Reply Quote 0
          • danD
            dan @jbtruffault
            last edited by

            @jbtruffault Hiya,

            I'm not familiar with nextcloud, but it seems like you are on the right track.

            When debugging oauth issues, we recommend enabling debugging. You can do this on the "OAuth" tab in the application config.

            Try to log in from Next cloud.

            Then visit the event log (System -> Event Log), you should see some advanced debugging messages, which may be helpful.

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            J 1 Reply Last reply Reply Quote 1
            • J
              jbtruffault @dan
              last edited by

              Finally, I used this plugin: https://github.com/nextcloud/user_oidc

              The documentation is pretty clear and pretty efficient, and now it works !

              @dan thank you for your support !

              danD 1 Reply Last reply Reply Quote 0
              • J jbtruffault has marked this topic as solved on
              • danD
                dan @jbtruffault
                last edited by

                @jbtruffault Glad you figured it out, and thanks for sharing that link!

                --
                FusionAuth - Auth for devs, built by devs.
                https://fusionauth.io

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post