Base solution for your next web application
Open Closed

Password reset mail link not working #6965


User avatar
0
capacent created

I am working on a multitenancy solution written in .Net Core and Angular.

I have successfully set up Sendgrid to send emails.

I get email with this link http://data.is/account/reset-password?c=ACG8gT0tZAsMibCUJXiuXEb4LPfkw1ooHpXoCmwN37Q=

But when I press it I get error message: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

So my question is: Why is the link not working?


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Does the published angular app contain web.config?

  • User Avatar
    0
    capacent created

    Yes, there is a webconfig.xml file and it looks like this.

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <system.webServer>
        <staticContent>
          <mimeMap fileExtension=".json" mimeType="application/json" />
        </staticContent>
        <httpProtocol>
          <customHeaders>
            <remove name="X-Powered-By" />
          </customHeaders>
        </httpProtocol>
      </system.webServer>
    </configuration> 
    

    The project is up and running and everything works smoothly except for the link I get in e-mail.

  • User Avatar
    1
    maliming created
    Support Team

    The content of web.config should be: https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/web.config

  • User Avatar
    0
    capacent created

    This link does not work. I get an 404 error

  • User Avatar
    0
    maliming created
    Support Team

    Notice You can invite anyone to become a member of the ASP.NET Zero organization using their GitHub username. And they can access the ASP.NET Zero private GitHub repositories. Your license plan allows you to add up to 3 users. Right after you add a GitHub user, the user will receive an invitation email. If there is problem receiving the invitation email, alternatively user can visit github.com/orgs/aspnetzero page and accept the invitation.