Portal user "change password link" don't work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dimyy
    Active Community Member
    • Jun 2018
    • 569

    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
  • yuri
    Member
    • Mar 2014
    • 8440

    #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).
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • dimyy
      Active Community Member
      • Jun 2018
      • 569

      #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

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        How the password recovery URL looks like? The one is received in an email.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #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.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment


        • dimyy
          dimyy commented
          Editing a comment
          We don't enter to this function
      • dimyy
        Active Community Member
        • Jun 2018
        • 569

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

        EntryPoint don't trying detect portal
        Attached Files

        Comment

        • yuri
          Member
          • Mar 2014
          • 8440

          #7
          I'll look into.
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment

          • yuri
            Member
            • Mar 2014
            • 8440

            #8
            Fix fix should solve the problem, I hope: https://github.com/espocrm/espocrm/c...472c97cac4f69f
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment


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