Open Closed

Access the login provider of the current user #3879


User avatar
0
alin.andersen created

Hey,

I need get the name of the external login provider the current user is linked to.

I found the table AbpUserLogins:

Untitled.png

It contains all the information I need. I will need to check if the user came from a specific login provider and then do some logic.

How can I access this data? Is there a service? I found IIdentityExternalLoginAppService, but it does not have any data.

Thanks!

  • ABP Framework version: v6.0.0

  • UI type: Blazor

  • DB provider: EF Core

  • Tiered (MVC)


2 Answer(s)
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 v9.3.0-preview. Updated on June 03, 2025, 11:25