Activities of "liangshiwei"

Hi,

We released a new version 7.0.3

you can try create an event handler to subscribe to tenant creation events

You can see the output message. You didn't install yarn, please install it, then try again

https://classic.yarnpkg.com/en/docs/install

I tried to modify the page and model using this https://github.com/abpframework/abp/blob/dev/source-code/Volo.Abp.Account.SourceCode/Volo.Abp.Account.SourceCode.zip

This is open source,

you can use suite to download the commercial module source Code

Run abp install-libs on your solution root directory

great

try abp install-libs

I could not build the project you provided

Hi,

I don't know about the external support portal.

You need to find a way to pass the tenant parameter(query string. etc), you may need to get help from the external support portal

Another possible way is to get a tenant from referer I assume the URL for this support portal is tenanta.support-portal.com, and it will pass the current host when redirecting to auth server.

then you can custom a tenant resolver to get the current tenant from referer https://abp.io/docs/latest/framework/architecture/multi-tenancy#custom-tenant-resolvers

Hi,

i will fix the problem

you can try

[Volo.Abp.DependencyInjection.Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IOAuthSecureStorage))]
public class OAuthSecureStorage : IOAuthSecureStorage, ITransientDependency
{
    public Task SetAsync(string key, string value)
    {
#if DEBUG
        Preferences.Set(key, value);
        return Task.CompletedTask;
#else
        return SecureStorage.Default.SetAsync(key, value);
#endif
    }

    public Task<string> GetAsync(string key)
    {
#if DEBUG
        return Task.FromResult(Preferences.Get(key, string.Empty));
#else
        return SecureStorage.Default.GetAsync(key);
#endif
    }

    public Task RemoveAsync(string key)
    {
#if DEBUG
        Preferences.Remove(key);
#else
        SecureStorage.Default.Remove(key);
#endif
        return Task.CompletedTask;
    }
}
Showing 851 to 860 of 6014 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56