Open Closed

add identity for signed in users #2266


User avatar
0
ahmadkharsah created

Hi, I'd like to add multiple identities for the logged-in users so they can connect their accounts with other 3rd part accounts. for example:

  • user will log in with his identity/tenant
  • logged user will connect their Facebook account to their profile so they can get data from Facebook for instance.
  • the connected identity will be used for the background job. So, how I can achieve this scenario?
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Maybe this will help.

    https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/?view=aspnetcore-6.0&tabs=visual-studio

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

    Thanks, should the UI for callback be implemented somewhere in the solution? I think I need help from ABP side to complete this process.

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

    hi https://docs.abp.io/en/commercial/latest/modules/account#social-external-logins

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

    The external provider is not a social provider, it's OpenIdConnect.

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

    Hello

    You just need to follow the recommended method of ASPNET Core. ABP will support

    https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/modules/cms-kit/host/Volo.CmsKit.Web.Host/CmsKitWebHostModule.cs#L131-L159

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    1
    ahmadkharsah created

    Thanks, what about adding the identity to each module separately? I mean I want to have a separate identity provider for each module, is this possible in ABP?

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

    You can configure authentication schemes in different modules, which are then hosted by one or more Hosts.

    https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.AspNetCore/Volo/Abp/Identity/AspNetCore/AbpIdentityAspNetCoreModule.cs#L35

    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 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.