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. EspoCRM
  3. Serious OIDC EspoCRM issues!

Serious OIDC EspoCRM issues!

Scheduled Pinned Locked Moved EspoCRM
espocrmoidc
34 Posts 7 Posters 4.3k Views 7 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.
    • imc67I Offline
      imc67I Offline
      imc67
      translator
      wrote on last edited by imc67
      #1

      Since the last update of the EspoCRM package it contains OIDC, I was looking forward to it but the current implementation is extremely user unfriendly

      1. If you click the button to log in the browser tries to open a pop-up window. Most browsers block that by default and some browser are showing a little warning that a pop-up window was requested. 99% of the users won't notice and can't log in!!
      2. If you accept the pop-up opening then you see a "bare" window with no buttons, so password managers like Bitwarden don't show and you can't login
      3. If you manage to fill in the credentials you get a strange warning (see screenshot) and can do nothing. If you close this pop-up and try to login again you're suddenly logged in!
      4. If you manage to login you can never ever logout again! What ever you try you keep being logged in as that one user. So it is impossible to switch users.
      5. In the Auth Log you don't see the username anymore so for security reasons and auditing it's useless and not acceptable. (see screenshot 2)

      If this can't be solved I would really prefer to switch back to LDAP soon.
      34c9328a-91d5-4440-b669-79ba8f1b7d09-Scherm­afbeelding 2024-01-20 om 09.52.41.png
      Scherm­afbeelding 2024-01-20 om 10.16.58.png

      girishG vladimir.dV 3 Replies Last reply
      2
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        We just hit this in our instance as well. I have revoked the package, will investigate further.

        1 Reply Last reply
        0
        • imc67I Offline
          imc67I Offline
          imc67
          translator
          wrote on last edited by
          #3

          Ok, just before I read you comment I already decided to roll back to the latest backup because you can't use it anymore

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

            Our instance works fine. But I just see the OIDC based login inconveniences you noted. I was able to login and see all our CRM stuff.

            1 Reply Last reply
            0
            • imc67I imc67

              Since the last update of the EspoCRM package it contains OIDC, I was looking forward to it but the current implementation is extremely user unfriendly

              1. If you click the button to log in the browser tries to open a pop-up window. Most browsers block that by default and some browser are showing a little warning that a pop-up window was requested. 99% of the users won't notice and can't log in!!
              2. If you accept the pop-up opening then you see a "bare" window with no buttons, so password managers like Bitwarden don't show and you can't login
              3. If you manage to fill in the credentials you get a strange warning (see screenshot) and can do nothing. If you close this pop-up and try to login again you're suddenly logged in!
              4. If you manage to login you can never ever logout again! What ever you try you keep being logged in as that one user. So it is impossible to switch users.
              5. In the Auth Log you don't see the username anymore so for security reasons and auditing it's useless and not acceptable. (see screenshot 2)

              If this can't be solved I would really prefer to switch back to LDAP soon.
              34c9328a-91d5-4440-b669-79ba8f1b7d09-Scherm­afbeelding 2024-01-20 om 09.52.41.png
              Scherm­afbeelding 2024-01-20 om 10.16.58.png

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @imc67 said in Serious OIDC EspoCRM issues!:

              If you manage to login you can never ever logout again! What ever you try you keep being logged in as that one user. So it is impossible to switch users.

              This is how most OIDC login behave btw. For example, Google login on most sites. I tried this with gitlab.com just now and same behavior. You get auto logged in after logout.

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

                1,2,3 and 5 appear to be upstream bugs. @vladimir-d will validate them and open bugs upstream.

                1 Reply Last reply
                0
                • girishG girish

                  @imc67 said in Serious OIDC EspoCRM issues!:

                  If you manage to login you can never ever logout again! What ever you try you keep being logged in as that one user. So it is impossible to switch users.

                  This is how most OIDC login behave btw. For example, Google login on most sites. I tried this with gitlab.com just now and same behavior. You get auto logged in after logout.

                  imc67I Offline
                  imc67I Offline
                  imc67
                  translator
                  wrote on last edited by
                  #7

                  @girish good to know, later I used a privacy window/session and the you can switch

                  1 Reply Last reply
                  2
                  • P Offline
                    P Offline
                    p44
                    translator
                    wrote on last edited by
                    #8

                    Any news about this topic? Cannot login using some kind of browsers, like Webcatalog

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

                      @p44 we reverted the package already. Just revert to the previous package version using your backups.

                      1 Reply Last reply
                      1
                      • P Offline
                        P Offline
                        p44
                        translator
                        wrote on last edited by
                        #10

                        @girish If I revert the backup, how I can keep all the data stored on EspoCRM? (I mean updated data)

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

                          @p44 I am afraid that data has to be recreated.

                          The other alternative is to wait more. But these are more upstream issues and we don't have an idea when it will get sorted out. We have to report them first as well.

                          P 1 Reply Last reply
                          0
                          • girishG girish

                            @p44 I am afraid that data has to be recreated.

                            The other alternative is to wait more. But these are more upstream issues and we don't have an idea when it will get sorted out. We have to report them first as well.

                            P Offline
                            P Offline
                            p44
                            translator
                            wrote on last edited by
                            #12

                            @girish Ok, thank's a lot Girish.

                            I think I cannot move forward, restoring backup, because data has been updated meanwhile, so we will lose all changes in case of restore.

                            I'll wait more hoping that those upstream issues will be fixed.

                            Thank's again for your patience

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

                              @imc67 @p44 We have opened the separate window popup as an issue upstream - https://github.com/espocrm/espocrm/issues/2958

                              1 Reply Last reply
                              1
                              • imc67I imc67

                                Since the last update of the EspoCRM package it contains OIDC, I was looking forward to it but the current implementation is extremely user unfriendly

                                1. If you click the button to log in the browser tries to open a pop-up window. Most browsers block that by default and some browser are showing a little warning that a pop-up window was requested. 99% of the users won't notice and can't log in!!
                                2. If you accept the pop-up opening then you see a "bare" window with no buttons, so password managers like Bitwarden don't show and you can't login
                                3. If you manage to fill in the credentials you get a strange warning (see screenshot) and can do nothing. If you close this pop-up and try to login again you're suddenly logged in!
                                4. If you manage to login you can never ever logout again! What ever you try you keep being logged in as that one user. So it is impossible to switch users.
                                5. In the Auth Log you don't see the username anymore so for security reasons and auditing it's useless and not acceptable. (see screenshot 2)

                                If this can't be solved I would really prefer to switch back to LDAP soon.
                                34c9328a-91d5-4440-b669-79ba8f1b7d09-Scherm­afbeelding 2024-01-20 om 09.52.41.png
                                Scherm­afbeelding 2024-01-20 om 10.16.58.png

                                girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #14

                                @imc67 said in Serious OIDC EspoCRM issues!:

                                If you manage to fill in the credentials you get a strange warning (see screenshot) and can do nothing. If you close this pop-up and try to login again you're suddenly logged in!

                                This is opened in https://github.com/espocrm/espocrm/issues/2959

                                1 Reply Last reply
                                2
                                • P Offline
                                  P Offline
                                  p44
                                  translator
                                  wrote on last edited by
                                  #15

                                  @girish Great! Thank's again

                                  1 Reply Last reply
                                  0
                                  • imc67I Offline
                                    imc67I Offline
                                    imc67
                                    translator
                                    wrote on last edited by
                                    #16

                                    Looks like they solved it and will release it in the next update

                                    1 Reply Last reply
                                    2
                                    • girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #17

                                      @imc67 For the username in the auth log - https://github.com/espocrm/espocrm/issues/2959#issuecomment-1910219351

                                      1 Reply Last reply
                                      2
                                      • imc67I imc67

                                        Since the last update of the EspoCRM package it contains OIDC, I was looking forward to it but the current implementation is extremely user unfriendly

                                        1. If you click the button to log in the browser tries to open a pop-up window. Most browsers block that by default and some browser are showing a little warning that a pop-up window was requested. 99% of the users won't notice and can't log in!!
                                        2. If you accept the pop-up opening then you see a "bare" window with no buttons, so password managers like Bitwarden don't show and you can't login
                                        3. If you manage to fill in the credentials you get a strange warning (see screenshot) and can do nothing. If you close this pop-up and try to login again you're suddenly logged in!
                                        4. If you manage to login you can never ever logout again! What ever you try you keep being logged in as that one user. So it is impossible to switch users.
                                        5. In the Auth Log you don't see the username anymore so for security reasons and auditing it's useless and not acceptable. (see screenshot 2)

                                        If this can't be solved I would really prefer to switch back to LDAP soon.
                                        34c9328a-91d5-4440-b669-79ba8f1b7d09-Scherm­afbeelding 2024-01-20 om 09.52.41.png
                                        Scherm­afbeelding 2024-01-20 om 10.16.58.png

                                        vladimir.dV Offline
                                        vladimir.dV Offline
                                        vladimir.d
                                        wrote on last edited by
                                        #18

                                        @imc67 said in Serious OIDC EspoCRM issues!:

                                        1. In the Auth Log you don't see the username anymore so for security reasons and auditing it's useless and not acceptable. (see screenshot 2)

                                        Scherm­afbeelding 2024-01-20 om 10.16.58.png

                                        Yury, the chief developer of the EspoCRM project, explained that the user is available on the View section of the AuthLog record.

                                        Screenshot 2024-01-25 at 21.48.06.png

                                        1 Reply Last reply
                                        4
                                        • girishG Offline
                                          girishG Offline
                                          girish
                                          Staff
                                          wrote on last edited by
                                          #19

                                          Upstream EspoCRM 8.1.2 has fixed a few OIDC issues. Atleast, the first login error message is fixed. I have tested a bunch of browsers but only on Linux and Android. It works fine and I am also able to autocomplete using password manager (you have to use context menu in desktop to reach the password manager). We still have the popup but there is nothing we can do here. Upstream has made a note to change this at some point.

                                          1 Reply Last reply
                                          2
                                          • P Offline
                                            P Offline
                                            p44
                                            translator
                                            wrote on last edited by
                                            #20

                                            @girish Ok, we will see how will work. Thank's

                                            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