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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. IT-Tools
  3. IT-Tools and OIDC - Looping issue

IT-Tools and OIDC - Looping issue

Scheduled Pinned Locked Moved IT-Tools
18 Posts 3 Posters 893 Views 3 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.
  • T Offline
    T Offline
    Teiluj
    wrote on last edited by
    #1

    Hi,

    We have this app setup with Cloudron OIDC authentication.

    For a single user (as far as I know), attempting to log in result in a loop:

    • the other access the login page and press the login button
    • he is being redirected to the OIDC authentication
    • After authenticating, instead of access the IT-tools app, he is redirected to the login page again with for only option to press the login button.

    Other users appear unaffected.
    Installing a second iteration of the app with the same (simple) setup result in the same behavior.
    There is no apparent errors in the logs of the app.

    Has someone come across this already?
    any suggestions how to resolve this?

    Many thanks,

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

      Hello @teiluj
      For that single user, does his username have special characters?
      Does he have a first and last name in his profile or just a single string?

      T 1 Reply Last reply
      2
      • jamesJ james

        Hello @teiluj
        For that single user, does his username have special characters?
        Does he have a first and last name in his profile or just a single string?

        T Offline
        T Offline
        Teiluj
        wrote on last edited by
        #3

        Hi @james,

        This single user's username does not contain any special character - the username is literally a sequence of character aka a single string.
        It also follows the same naming scheme as other users for which the application works.

        This leaves me baffled for now.

        Many thanks,

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

          Hello @teiluj
          Since the @it-tools app uses Cloudron Proxyauth I assume this might be some strange caching issue.
          Can you ask the user to try it in a private browser window?

          T 1 Reply Last reply
          1
          • jamesJ james

            Hello @teiluj
            Since the @it-tools app uses Cloudron Proxyauth I assume this might be some strange caching issue.
            Can you ask the user to try it in a private browser window?

            T Offline
            T Offline
            Teiluj
            wrote on last edited by Teiluj
            #5

            Hi @james - Yes, we have done this and no success. I also have to mention that this has been going on for this one user for months now.

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

              Hello @teiluj
              Is it just the @it-tools app or are other apps affected as well?

              1 Reply Last reply
              1
              • T Offline
                T Offline
                Teiluj
                wrote on last edited by
                #7

                Hi @james

                Currently the issue is only affecting that particular user, with that particular @it-tools app.

                jdaviescoatesJ 1 Reply Last reply
                0
                • T Teiluj

                  Hi @james

                  Currently the issue is only affecting that particular user, with that particular @it-tools app.

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #8

                  @Teiluj have you tried impersonating that user? If you can reproduce yourself you might be able to get further insight.

                  I use Cloudron with Gandi & Hetzner

                  T 1 Reply Last reply
                  2
                  • jdaviescoatesJ jdaviescoates

                    @Teiluj have you tried impersonating that user? If you can reproduce yourself you might be able to get further insight.

                    T Offline
                    T Offline
                    Teiluj
                    wrote on last edited by
                    #9

                    Hi @jdaviescoates - Many thanks for your idea.

                    Impersonating the user present the same loop problem unfortunately.

                    jamesJ jdaviescoatesJ 2 Replies Last reply
                    0
                    • T Teiluj

                      Hi @jdaviescoates - Many thanks for your idea.

                      Impersonating the user present the same loop problem unfortunately.

                      jamesJ Online
                      jamesJ Online
                      james
                      Staff
                      wrote on last edited by
                      #10

                      Hello @Teiluj
                      Can you please share the details for that user so we can try to reproduce this issue?

                      1 Reply Last reply
                      1
                      • T Teiluj

                        Hi @jdaviescoates - Many thanks for your idea.

                        Impersonating the user present the same loop problem unfortunately.

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #11

                        @Teiluj there might be some clues in the browser console when doing it as the user?

                        I use Cloudron with Gandi & Hetzner

                        T 1 Reply Last reply
                        1
                        • T Offline
                          T Offline
                          Teiluj
                          wrote on last edited by
                          #12

                          A short update: this seems to point at a server issue.

                          Using the same computer and the same browser, I installed the app on a different server, and was able to log into the app successfully, using the same user credentials (the user authentication comes from LDAP sync from a 3rd cloudron server)

                          I can also confirm that on that one server, where the user is having the issue, clearing the browser's cache or using a different browser/computer, does not solve the problem.

                          @james - Happy to share more details as far as possible, but considering the above, I doubt that this is easily reproducible.

                          1 Reply Last reply
                          1
                          • jdaviescoatesJ jdaviescoates

                            @Teiluj there might be some clues in the browser console when doing it as the user?

                            T Offline
                            T Offline
                            Teiluj
                            wrote on last edited by
                            #13

                            @jdaviescoates Thanks for the suggestion - I cannot see anything of significance there either.

                            1 Reply Last reply
                            2
                            • T Offline
                              T Offline
                              Teiluj
                              wrote on last edited by Teiluj
                              #14

                              ok - I was hoping that somehow the move to the fork would help with this, but actually, there is no change, still looping.
                              Any ideas how to go and troubleshoot this further?

                              Many thanks,

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

                                Hello @teiluj
                                You did not yet share the erroring user details like username, first and last name so we could try to reproduce it.

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  Teiluj
                                  wrote on last edited by
                                  #16

                                  Hi @james - Thanks for your willing help.
                                  For security/confidentiality reasons, these are elements of information that are difficult to share on a public forum. I could eventually share this in a private context, but I can confirm that there is absolutely nothing special about both username and the name of the user. I hope that it makes sense.

                                  Just as a short recap about this:

                                  • the server where the application is installed has its user directory LDAP synced from another Cloudron. The user facing the issue is a synced user
                                  • The cloudron sso-enabled application used to work with this particular user, until it stopped and created this looping issue
                                  • it only happens for this user on this server for this app:
                                    • Other cloudron sso-enabled apps on this same server have no issue with this user.
                                    • Other users using the IT-Tools app on this same server have no looping issues
                                    • On the same server, with a newly/secondary installed IT-Tools app instance, the same user still faces the looping issue.
                                    • both the server log as well as the app log do not show anything of note regarding this. In fact, the event log of the app shows the user has "logged into" the app.
                                    • On another server, with the user directory also synced, with the IT-Tools app installed there, the same user does not experience the looping issue.
                                    • the looping error persists even when using different machines / different browsers / clearing the browser's cache, etc...

                                  I hope that this helps somehow.

                                  jdaviescoatesJ 1 Reply Last reply
                                  1
                                  • T Teiluj

                                    Hi @james - Thanks for your willing help.
                                    For security/confidentiality reasons, these are elements of information that are difficult to share on a public forum. I could eventually share this in a private context, but I can confirm that there is absolutely nothing special about both username and the name of the user. I hope that it makes sense.

                                    Just as a short recap about this:

                                    • the server where the application is installed has its user directory LDAP synced from another Cloudron. The user facing the issue is a synced user
                                    • The cloudron sso-enabled application used to work with this particular user, until it stopped and created this looping issue
                                    • it only happens for this user on this server for this app:
                                      • Other cloudron sso-enabled apps on this same server have no issue with this user.
                                      • Other users using the IT-Tools app on this same server have no looping issues
                                      • On the same server, with a newly/secondary installed IT-Tools app instance, the same user still faces the looping issue.
                                      • both the server log as well as the app log do not show anything of note regarding this. In fact, the event log of the app shows the user has "logged into" the app.
                                      • On another server, with the user directory also synced, with the IT-Tools app installed there, the same user does not experience the looping issue.
                                      • the looping error persists even when using different machines / different browsers / clearing the browser's cache, etc...

                                    I hope that this helps somehow.

                                    jdaviescoatesJ Offline
                                    jdaviescoatesJ Offline
                                    jdaviescoates
                                    wrote on last edited by
                                    #17

                                    @Teiluj said in IT-Tools and OIDC - Looping issue:

                                    On another server, with the user directory also synced, with the IT-Tools app installed there, the same user does not experience the looping issue.

                                    TBH I'd probably just be inclined to just use that instance 🙂

                                    I use Cloudron with Gandi & Hetzner

                                    T 1 Reply Last reply
                                    1
                                    • jdaviescoatesJ jdaviescoates

                                      @Teiluj said in IT-Tools and OIDC - Looping issue:

                                      On another server, with the user directory also synced, with the IT-Tools app installed there, the same user does not experience the looping issue.

                                      TBH I'd probably just be inclined to just use that instance 🙂

                                      T Offline
                                      T Offline
                                      Teiluj
                                      wrote on last edited by Teiluj
                                      #18

                                      @jdaviescoates Thanks - Not the I have not though about this, but, at last, this could only be a temporary solution following our infrastructure setup.

                                      It also does not solve the underlying OIDC issue, which I very much find intriguing.

                                      1 Reply Last reply
                                      1

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      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