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

    Solved How to create a OAUTH2 client ID - Secret ?

    Firefly III
    4
    15
    353
    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.
    • rmdes
      rmdes last edited by rmdes

      I'm trying to follow the Firefly Doc and create an Oauth2 client app but no matter where I look I can't find any part where I can create this via the UI. As if this was disabled somewhere...
      Anyone ever tried to use a mobile app with their Firefly app ?

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        Are you talking about some OAuth2 UI in firefly or in Cloudron?
        Cloudron has removed OAuth support since some time now, in firefly this may not be enabled by the package to ensure consistency in user management.

        rmdes Lonkle 2 Replies Last reply Reply Quote 0
        • rmdes
          rmdes @nebulon last edited by

          @nebulon In firefly, for the mobile app to connect to a self hosted firefly app you need,
          URL
          Client ID
          Client Secret

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            I can confirm the docs at https://docs.firefly-iii.org/api/api#authentication seem to be out of sync with the actual app.

            Not sure if this is only part of yet to be released versions or if it was removed.

            rmdes 1 Reply Last reply Reply Quote 0
            • rmdes
              rmdes @nebulon last edited by

              @nebulon Hmm indeed, it seems if you go to firefly.domain.com/oauth/authorize
              13c010d9-6641-4d5d-bcb3-a11f4afdbfb4-image.png

              1 Reply Last reply Reply Quote 0
              • rmdes
                rmdes last edited by

                It seems the API feature still exist, unless the demo server is running another version ?
                https://api-docs.firefly-iii.org/

                516e4189-c883-4035-a2e5-bee244e92f4f-image.png

                1 Reply Last reply Reply Quote 0
                • rmdes
                  rmdes last edited by rmdes

                  Indeed the profile section of the Firefly III demo site has more tabs in the profile section :
                  af74db39-3cbe-4b38-a8dc-135125a2e7b5-image.png

                  compared to cloudron firefly app profile :
                  7a1248f7-0129-424a-97dd-37be6f19e6bf-image.png

                  test : https://demo.firefly-iii.org/login
                  user : demo@demofly
                  pass : demo

                  1 Reply Last reply Reply Quote 0
                  • rmdes
                    rmdes last edited by rmdes

                    Hah found something related to this : https://github.com/firefly-iii/firefly-iii/issues/3915
                    this feature is disabled when using Firefly from an LDAP user directory, that's the reason.

                    1 Reply Last reply Reply Quote 0
                    • rmdes
                      rmdes last edited by

                      It seems this commit already fix this : https://github.com/firefly-iii/firefly-iii/commit/4b1f4ae31917f2051414799461be84c14a12b5dd
                      can you confirm ? @nebulon

                      1 Reply Last reply Reply Quote 0
                      • Lonkle
                        Lonkle @nebulon last edited by

                        @nebulon said in How to create a OAUTH2 client ID - Secret ?:

                        Are you talking about some OAuth2 UI in firefly or in Cloudron?
                        Cloudron has removed OAuth support since some time now, in firefly this may not be enabled by the package to ensure consistency in user management.

                        You guys had an OAUTH system? Interesting. Why did you remove it?

                        1 Reply Last reply Reply Quote 0
                        • nebulon
                          nebulon Staff last edited by

                          @lonk please use the forum search from time to time so we don't have to reopen or reiterate previous discussions 🙂

                          https://forum.cloudron.io/topic/2137/oauth-support

                          Lonkle 1 Reply Last reply Reply Quote 0
                          • Lonkle
                            Lonkle @nebulon last edited by

                            @nebulon Understood, I'm sorry. I'll do that more often, I don't want to waste anyone's time!

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

                              @rmdes Indeed that looks like that should fix it. I guess we have to wait for next Firefly-III release.

                              rmdes 1 Reply Last reply Reply Quote 2
                              • rmdes
                                rmdes @girish last edited by

                                @girish Great!!

                                1 Reply Last reply Reply Quote 0
                                • rmdes
                                  rmdes last edited by rmdes

                                  This is issue is now fixed ! thanks a lot !!! 🙂

                                  Screenshot.png

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