Activities of "saintpoida"

Umm yeah i think so

Hi guys i was pointed here about a similar issue with confirming an email address by @liangshiwei

When is the next milestone due?

Further on related email process, if I make it so a user needs to confirm email how can they resend confirm email (from identity server)?

  • ABP Framework version: v2.9.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi guys I am not sure if I am doing anything wrong here but trying to set email settings has been a little annoying. Since the settings provider for email settings is already setup by your modules how can I get it to display in the front end UI? The email management module seems to be an old version (2.6?) in commercial nuget repository and if I try add it the project wont run.

I can set the settings in appsettings however the password is expected to be encrypted by default and obviously its not encrypted if im adding it to the appsettings file. I have overridden the email settings as per documentation using the following and can get it to work but it would be nicer if I could just use UI if it exists already?

public class EmailOverrideSettingsProvider : SettingDefinitionProvider
    {
        public override void Define(ISettingDefinitionContext context)
        {
            var password = context.GetOrNull(EmailSettingNames.Smtp.Password);
            if (password != null)
            {
                password.IsEncrypted = false;
            }
        }
    }

Similarly for Identity login endpoint which i have seperated I have overloaded branding provider and provided two urls for LogoUrl and LogoReverseUrl.

I can then see in the rendered login page two css vars --logo and --logo-reverse which have the correct URLs. However the login page doesnt seem to have a dark theme? And its picking the logo reverse variable, how can i fix that?

Ok so that works for primary app view of angular. Now where to do I find and override the component with selector abp-account-logo which is what is shown on the angular login page?

Also can you guys move the default background style for the default logos to an additional class so that when we override the logo component we can just drop that class and not have to overload the css with background: none?

Question
  • ABP Framework version: v2.9.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): Tiered and seperated
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I can see the docs about replacing the logo component which i have not tried yet but it only looks like it would allow me to set a single logo. To be useable with your base set of theme styles how can we specify the normal and reversed logo? I can see what looks to be css properties/variables called --logo and --logo-reverse but how would i go about replacing them in my project?

Alternatively using the logo component replacement how can I hook into some property to know if i should show reversed or normal logo?

Sorry i havent had a chance to make the project today, will get it done tomorrow. However i was testing it with the mvc version of abp and it works as expected but there are different cookies when using mvc so im pretty sure its just a difference in configuration. I will also try copying the mvc auth settings to api host and see if that makes a difference. I could always create a tiny mvc web project to just serve that middleware as a fallback

Will update after i have tried a few things

Good point i have removed access to that lnk and can see you removed it from the message thanks!

I will redo it in the next few hours

@liangshiwei

Hi yeah i have created basically a whole abp project to reproduce problem and can be found here

The middleware and custom policy are in the HttpApi project, settings in HttpApi Host project. I think my settings are wrong because if i manually edit the request for that path to include bearer token it works as expected. So something related to the cookie setup is wrong or im missing a setting i believe.

Let me know thanks

Showing 1 to 10 of 26 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11