Announcement

Collapse
No announcement yet.

Portal user "change password link" don't work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Portal user "change password link" don't work

    When trying access to "change portal link" got 404.

    Settings requested from
    /api/v1/Settings
    instead of
    /api/v1/portal-access/64afe880c51eb612d/Settings

  • #2
    Please, more details in bug report posts. Otherwise, not in Bug Reports category.

    We use this feature and it has been working AFAIK (for years).

    Comment


    • #3
      1. System installed under nginx, espo version 7.5.5
      2. Nginx configured as described https://docs.espocrm.com/administrat...configuration/
      3. Portal configured on sub domain
      4. I see when I try to access on "password repair link" response contain:
      Code:
      require('app', App => {
                          new App({
                              id: 'espocrm-application-id',
                              apiUrl: 'api/v1',
                              ajaxTimeout: 60000,
                          }, app =>​
      5. When I try to access to portal.domain response contain:
      Code:
                      require('app-portal', App => {
                          new App({
                              id: '64afe880c51eb612d',
      ​                        apiUrl: 'api/v1/portal-access/64afe880c51eb612d',
                              ajaxTimeout: 60000,
                          }, app => {​
      What other information can I provide?
      Attached Files

      Comment


      • #4
        How the password recovery URL looks like? The one is received in an email.

        Comment


      • #5
        I think you need to add/fix something in Nginx configuration. So that the index.php request could recognize that the request is from the portal rather than the CRM. See https://github.com/espocrm/espocrm/b...ls/Url.php#L50. Try debugging here.

        Please let us know if you find out what exactly you needed to add to fix so that we add it to the docs.

        Comment


        • dimyy
          dimyy commented
          Editing a comment
          We don't enter to this function

      • #6
        Backtrace in point https://github.com/espocrm/espocrm/b...nager.php#L233

        EntryPoint don't trying detect portal
        Attached Files

        Comment


        • #7
          I'll look into.

          Comment


          • #8
            Fix fix should solve the problem, I hope: https://github.com/espocrm/espocrm/c...472c97cac4f69f

            Comment


            • dimyy
              dimyy commented
              Editing a comment
              Super!
              Now working
          Working...
          X