hi
We fixed this in 8.0.4. Please give it a try. Your question credits have been refunded.
hi
Can you try to add these code to your MyProjectNameEntityFrameworkCoreTestModule
https://github.com/abpframework/abp/blob/rel-8.0/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs#L25-L40
hi
You can continue to override the public virtual async Task<string> GetUserEmailAsync(string userName) of OpenLdapManager to output the debug messages.
public virtual async Task<string> GetUserEmailAsync(string userName)
{
using (var conn = await CreateLdapConnectionAsync())
{
await AuthenticateLdapConnectionAsync(conn, await NormalizeUserNameAsync(await LdapSettingProvider.GetUserNameAsync()), await LdapSettingProvider.GetPasswordAsync());
var searchResults = await conn.SearchAsync(await GetBaseDnAsync(), await GetUserFilterAsync(userName));
try
{
var userEntry = searchResults.First();
return await GetUserEmailAsync(userEntry);
}
catch (LdapException e)
{
Logger.LogException(e);
}
return null;
}
}
hi
then show all applications in this when i open web application this open https://web.domain.com but i want if tenant open than directly open https://smc.web.domain.com this URL.
I don't understand this very well. Can you explain in detail?
Thanks
hi
[INF] Client validation failed because 'https://smc.web.domain.com/signin-oidc' was not a valid redirect_uri for TestIdentity.
[INF] The authorization request was rejected because the redirect_uri was invalid: 'https://smc.web.domain.com/signin-oidc'.
PreConfigure<AbpOpenIddictWildcardDomainOptions>(options =>
{
options.EnableWildcardDomainSupport = true;
options.WildcardDomainsFormat.Add("https://{0}.auth.domain.com");
options.WildcardDomainsFormat.Add("https://{0}.web.domain.com/signin-oidc");
});
Try to add https://{0}.web.domain.com/signin-oidc to WildcardDomainsFormat
hi
You can try to get ICurrentUser from SettingPageCreationContext and check the roles.
hi
You only need to add AddAbpOpenIdConnect for the projects that use OpenIdConnect.