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. Firefly III
  3. How to create a OAUTH2 client ID - Secret ?

How to create a OAUTH2 client ID - Secret ?

Scheduled Pinned Locked Moved Solved Firefly III
15 Posts 4 Posters 2.2k 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.
    • rmdesR Offline
      rmdesR Offline
      rmdes
      wrote on last edited by rmdes
      #1

      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
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        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.

        rmdesR LonkleL 2 Replies Last reply
        0
        • nebulonN nebulon

          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.

          rmdesR Offline
          rmdesR Offline
          rmdes
          wrote on last edited by
          #3

          @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
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            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.

            rmdesR 1 Reply Last reply
            0
            • nebulonN nebulon

              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.

              rmdesR Offline
              rmdesR Offline
              rmdes
              wrote on last edited by
              #5

              @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
              0
              • rmdesR Offline
                rmdesR Offline
                rmdes
                wrote on last edited by
                #6

                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
                0
                • rmdesR Offline
                  rmdesR Offline
                  rmdes
                  wrote on last edited by rmdes
                  #7

                  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
                  0
                  • rmdesR Offline
                    rmdesR Offline
                    rmdes
                    wrote on last edited by rmdes
                    #8

                    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
                    0
                    • rmdesR Offline
                      rmdesR Offline
                      rmdes
                      wrote on last edited by
                      #9

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

                      1 Reply Last reply
                      0
                      • nebulonN nebulon

                        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.

                        LonkleL Offline
                        LonkleL Offline
                        Lonkle
                        wrote on last edited by
                        #10

                        @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
                        0
                        • nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote on last edited by
                          #11

                          @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

                          LonkleL 1 Reply Last reply
                          0
                          • nebulonN nebulon

                            @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

                            LonkleL Offline
                            LonkleL Offline
                            Lonkle
                            wrote on last edited by
                            #12

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

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

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

                              rmdesR 1 Reply Last reply
                              2
                              • girishG girish

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

                                rmdesR Offline
                                rmdesR Offline
                                rmdes
                                wrote on last edited by
                                #14

                                @girish Great!!

                                1 Reply Last reply
                                0
                                • rmdesR Offline
                                  rmdesR Offline
                                  rmdes
                                  wrote on last edited by rmdes
                                  #15

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

                                  Screenshot.png

                                  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