- ABP Framework version: v7.2
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
Hi,
I am Syncing users from Azure Active Directory on CRON basis.
What I need is at the time of syncing the users to our table [dbo].[AbpUsers] we need to create the entry in [dbo].[AbpUserLogins] also so that when any user logins first time they are not shown the Register Button i.e. "Account/Register".
But table [dbo].[AbpUserLogins] is having one column named [ProviderKey] which is uniquely generated per user.
Please provide input on how we can create entry in [ProviderKey] column at the time of syncing only.
Thanks !!
2 Answer(s)
-
0
Hi,
Provider Key is something we get from below code which is not related to abp io
await SignInManager.GetExternalLoginInfoAsync();please read more about this on https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.identity.userlogininfo.providerkey?view=aspnetcore-7.0#microsoft-aspnetcore-identity-userlogininfo-providerkey
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)