Open Closed

Register not working #6734


User avatar
0
datdv1 created

Hi Support Team ABP!

ABP Framework version: v7.4.4

UI Type:Angular

Database System: MongoDB

Tiered (for MVC) or Auth Server Separated (for Angular): no

After I deployed application to AKS, I click to register on login page and binding information of user , after that the backend Application sent an email to email of user. But I see that the on the email the confirmation link is localhost, not the url of my cloud application, this url is al so configured on yaml file when deploy to AKS:

Can you see and show the mistake for me?


7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    But I see that the on the email the confirmation link is localhost,

    What's the port of this link?

  • User Avatar
    0
    datdv1 created

    Hi maliming! The port of the link is 44343

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    This link comes from App:SelfUrl of appsettings.json

    I'm not familiar with the AKS. You can check the configuration.

    private void ConfigureUrls(IConfiguration configuration)
    {
        Configure<AppUrlOptions>(options =>
        {
            options.Applications["MVC"].RootUrl = configuration["App:SelfUrl"];
            options.Applications["Angular"].RootUrl = configuration["App:AngularUrl"];
        });
    }```
    
  • User Avatar
    0
    datdv1 created

    Hi maliming! I have already known that if I change App:SelfUrl in appsettings, this will work However, I want to use enviroment variable of AKS, becuase my project requirement is do not change in appsetting I think your support team are experienced in this case, so please ask someone who is familiar in kubenetes

    this picture contains environment variable in AKS pod

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Ok, I will ask my coworkers.

  • User Avatar
    0
    datdv1 created

    thanks maliming!

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Hello,

    I understand that your requirement is not to change the appsettings but for troubleshooting the problem better, can you update the appsettings.json file App:SelfUrl and App:AngularUrl and deploy it to see if the problem lies with overriding the environment or if there is an internal bug related to the login confirmation mail link.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09