Activities of "shobhit"

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:

  1. user click on google login button
  2. user provide google credentials
  3. app receive google auth token
  4. Assume user is registered in idetnity server
  5. now how to use this auth token to get the identity server auth token so that api can be consumed in mobile app

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.

  1. if external user registeration taken care by ASP NET Core Identity then how i have to register Exernal user.
  2. Currently to register local user we are using "/api/account/register" api endpoint. we will give a try with same api end point for external provider user registeration
  3. how ASP NET Core identity will determine the External provider like "Google"?
  4. when we login to any external provider we gets access token and id token as response, do we have to use them?

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:

  • dev_aztute is host db
  • dev_identity is tenant db

Tenant db has only following tables (higlited one is custom table. this is the same table which is not getting populated with data):

just to mention we are using following apple package

Answer

Hello @liangshiwei, Thanks. can you share 1 application sample with me. for all above points, so that we can follow in our project.

UsePrivateKey is showing error:

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".

Showing 81 to 90 of 235 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30