hi
What is your client code that connects the signal?
ok, I will check it asap.
Thanks.
hi
I have reproduced the problem. Checking..
hi
Please share these two minimal projects.
Thanks
liming.ma@volosoft.com
Thanks. I will check it. you can share file via https://wetransfer.com/ next time. : )
hi
After the successful login verification using openid , the application is not allowing the user to enter into the site instead it is circling back to the login page again. Not sure what i am missing.
What do you mean? Can you share a GIF to show that?
But we would like to store the user information after the user credentials is verified.
There is an OnUserInformationReceived event of OpenIdConnect, You can get user info and store it in this method.
.AddOpenIdConnect("AzureOpenId", "Azure AD OpenId", options =>
{
options.Authority = "https://login.microsoftonline.com/" + configuration["AzureAd:TenantId"] + "/v2.0/";
options.ClientId = configuration["AzureAd:ClientId"];
options.ResponseType = OpenIdConnectResponseType.CodeIdToken;
options.CallbackPath = configuration["AzureAd:CallbackPath"];
options.ClientSecret = configuration["AzureAd:ClientSecret"];
options.RequireHttpsMetadata = false;
options.SaveTokens = true;
options.GetClaimsFromUserInfoEndpoint = true;
options.Scope.Add("email");
options.ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "sub");
options.Events = new OpenIdConnectEvents()
{
OnUserInformationReceived = c =>
{
}
};
});
hi
click "Save" button, but no two databases(table spaces) specified in Database connection strings are created.
The tenant dropdown menu has Apply database migrations options.
You can click and check the logs to see what's happened.
Can the ABP Framework support creating oracle database(table spaces) if they don't exists?
Yes, ABP will use EF Core service to create a new database. see https://abp.io/docs/latest/framework/data/entity-framework-core/migrations
How do I do if I want to migrate(Clone) data in a Job table into a tenant job table during the above Tenant data migration process?
You can add a new event handle to migrate the data. There is an event when a tenant is created. IDistributedEventHandler<TenantCreatedEto>
Please check your solution there should be have a event handler:
public class MyProjectNameTenantDatabaseMigrationHandler :
IDistributedEventHandler<TenantCreatedEto>,
IDistributedEventHandler<TenantConnectionStringUpdatedEto>,
IDistributedEventHandler<ApplyDatabaseMigrationsEto>,
ITransientDependency
{
}
What is the Best Practice for Mult-Tenancy Schema & Data Migration in Oracle ?
see https://abp.io/docs/latest/framework/data/entity-framework-core/migrations
hi
You can start a new unit of work in your job class to prevent this exception.
Please share the code of your job class.
Thanks.
An attempt was made to use the context instance while it is being configured. A DbContext instance cannot be used inside 'OnConfiguring' since it is still being configured at this point. This can happen if a second operation is started on this context instance before a previous operation completed. Any instance members are not guaranteed to be thread safe.
https://abp.io/docs/latest/framework/architecture/domain-driven-design/unit-of-work#begin-a-new-unit-of-work