Open Closed

ABP Entry In [dbo].[AbpUserLogins] When User Created #5694


User avatar
0
Dev2ng created
  • 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 !!

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    Dev2ng created

    Any update on this ?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    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)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.