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. Traccar
  3. OpenID Connect Error on iOS

OpenID Connect Error on iOS

Scheduled Pinned Locked Moved Traccar
oidc
20 Posts 5 Posters 295 Views 5 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote last edited by
    #6

    hm I was trying to see with the android client, since I don't have any ios device. Unfortunately the android client has no login of any sorts, you configre by device ID

    1 Reply Last reply
    0
    • jamesJ Online
      jamesJ Online
      james
      Staff
      wrote last edited by
      #7

      Hello @hakunamatata
      Good news, we found the issue.
      Bad news, to fix this a Cloudron Release is needed and an app update.

      With only the app update, the OIDC login will fail even in the browser.
      So we need to make a Cloudron Release first and after that, we can update the Traccar app.

      I hope this is acceptable to you.

      1 Reply Last reply
      0
      • H Online
        H Online
        hakunamatata
        wrote last edited by hakunamatata
        #8

        @james that is great to hear! Yes that is fine by me. I have temporarily created a local user in my traccar instance and use it to log into the app. So as long as it is on your radar to include the fix in an upcoming cloudron release, I am good.

        1 Reply Last reply
        0
        • jamesJ Online
          jamesJ Online
          james
          Staff
          wrote last edited by
          #9

          Hey @hakunamatata after a long look at the RFC of OpenID we came to the conclusion that the Traccar Manager app is at fault.
          We will request that the Traccar Manager app shall be updated to reflect the RFC to resolve this issue.
          Our first thought and solution would work, but would not adhere to the RFC.

          1 Reply Last reply
          0
          • H Online
            H Online
            hakunamatata
            wrote last edited by
            #10

            Noted, kindly share a link to the github issue once you've created it. Cheers!

            1 Reply Last reply
            0
            • BrutalBirdieB Offline
              BrutalBirdieB Offline
              BrutalBirdie
              Partner
              wrote last edited by
              #11

              @hakunamatata Since I was helping to debug the Android App I created the issue 😄
              https://github.com/traccar/traccar-manager/issues/7
              All credit to @james tho, he did the majority of the work!

              Like my work? Consider donating a drink. Cheers!

              1 Reply Last reply
              2
              • jamesJ Online
                jamesJ Online
                james
                Staff
                wrote last edited by
                #12

                @BrutalBirdie Thank you for helping with the Android app!
                The app was already updated it seems but the Google Play Store did not receive the update yet.

                1 Reply Last reply
                1
                • H Online
                  H Online
                  hakunamatata
                  wrote last edited by
                  #13

                  Great teamwork all ! Good to also see the Traccar developer being so prompt to act on this. Traccar Manager v5.1 has not yet been released to the Apple App Store. Will test the OIDC login again once it is available and revert.

                  1 Reply Last reply
                  1
                  • H Online
                    H Online
                    hakunamatata
                    wrote last edited by
                    #14

                    Okay just tested with the new version of the Cloudron app as well as the Traccar manager app but it unforunately still isn't working.

                    When you click on the "Login with OpenID" in the mobile app, Safari pops up with "Open this page in Traccar Manager -- Cancel/Open?"
                    If you select "Cancel" and go back to the mobile app, you get the "Frame load interrupted" error message.
                    If you select "Open", the Traccar webpage opens up in Safari while the mobile app still shows "Frame load interrupted".

                    So at this point there no longer is a "OpenID Connect Error - redirect_uri did not match any of the client's registered redirect_uris", however you still are unable to log into the Traccar Manager mobile app (atleast on iOS) using OpenID.

                    Maybe one of you folks can test it on Android?

                    1 Reply Last reply
                    0
                    • jamesJ Online
                      jamesJ Online
                      james
                      Staff
                      wrote last edited by
                      #15

                      Hello @hakunamatata
                      I have tested the updated app on android and have no issues.
                      Also tested the updated iOS app and found that with Safari and Brave the login with OpenID works but instead of forwarding that session to the app it does open it in the browser.
                      This might be valid to raise with an issue again upstream.

                      1 Reply Last reply
                      0
                      • H Online
                        H Online
                        hakunamatata
                        wrote last edited by
                        #16

                        @james , thanks for your feedback. I have gone ahead and created a new issue for it: https://github.com/traccar/traccar-manager/issues/8

                        1 Reply Last reply
                        0
                        • H Online
                          H Online
                          hakunamatata
                          wrote last edited by
                          #17

                          @james , the Traccar developer has asked "Has the native app URL been registered?"

                          I assume the answer is yes, but how would I go about to check the change that was made in Cloudron package update that was published yesterday?

                          1 Reply Last reply
                          0
                          • J Offline
                            J Offline
                            joseph
                            Staff
                            wrote last edited by
                            #18

                            Looks like package version 1.17.2 fixes something oidc related . @james can confirm . You can check the package version in the Info section of the app.

                            1 Reply Last reply
                            0
                            • jamesJ Online
                              jamesJ Online
                              james
                              Staff
                              wrote last edited by
                              #19

                              @joseph all good.
                              The android app is working as intended. iOS is a special case. As always.
                              @BrutalBirdie also added information to the GitHub upstream issue from @hakunamatata

                              1 Reply Last reply
                              0
                              • H Online
                                H Online
                                hakunamatata
                                wrote last edited by
                                #20

                                @james the developer has released v5.1.1 which is supposed to have fixed the issue, however I am still experiencing the same behavior when I try to sign into the iOS app using OpenID. Can you please test on your iPhone and advise if it is the same for you as well?

                                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