Hello @maliming, Thanks. i have refered the "Register" code and now can register the user. Now my question is how i can get the auth token for external user login i.e. google login user. Like steps are:
Similarly tenant conneciton string is available in host db --> SaasTenantConnectionStrings table. My assumption is ABP framework should take care of connection string from this table instead of hardcoding in the applicaiotn. we will have multiple tenant so we cannot keep adding connection string in code.
Hello @maliming, Can you please confirm where exactly you have made changes i.e. class and method. will follow in future.
Hello @maliming, Thanks but i am confused.
Hello @maliming, i am not sure how you have mention that there is no tenant exist. i have created 1 tenant and seperate DB for tenant. Please refer the attached screen shot. I have not shared the tenant and host db credentials in code due to security.
as per attached screen shot:
Tenant db has only following tables (higlited one is custom table. this is the same table which is not getting populated with data):
Hello @liangshiwei, Thanks. can you share 1 application sample with me. for all above points, so that we can follow in our project.
Hello @maliming, Yes you are correct, tables are getting created in seperate databases for host and tenant. no issue. My concern is data seeder is filling data in host db only. it should have data in tenant db table also; i am not sure about user tables but my custom tables are not working as per shared code.
External login info like we store in web application for any external provider like "google", "twitter".