Base solution for your next web application
Open Closed

Password Reset URL does not include tenant address. #11502


User avatar
0
michael.pear created

Version 11.4.0

Angular client/ASP.Net Core

I am resolving tenants based on the URL accessing the angular client (e.g., https://{TENANT_NAME}.myproject.org ). I do not change any configuration for the ASP.Net Core server to recognize the tenant. This has been working very well and minimizes the configuration changes I need to make when deploying the system.

However, when a user attempts a password reset from the login page, the e-mail sent includes an address based on appsettings.json property App.ClientRootAddress, and does not include the tenant address.

How do I configure the system so that the tenant address frin the Angular client is used instead of the ASP.Net Core appsettings App.ClientRootAddress?


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    In same way, you need to configure App.ClientRootAddress as https://{TENANT_NAME}.myproject.org. Could you try it and see if it works ?

  • User Avatar
    0
    michael.pear created

    Yes, that works. Thank you.

    For others that may run into this, this is the placeholder in WebUrlServiceBase.TenancyNamePlaceHolder.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks Michael :)