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;
}
}
great
Hi,
Are you talking about multi-tenancy with sub domain?
we have an example:
https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver
you can edit the application in the application management page to enable password granttype
it's wrong.
should be client_id not client_Id
if you got invalid_granttype
, you can edit the application in the application management page to enable password
granttype
please share some screenshots