Open Closed

Use external login to match to existing local login #9164


User avatar
0
stephenhynds created

Hi,

I have successfully configured login via Microsoft account which leads me to the Register page in our solution. User registration is disabled so the user can not proceed beyond this point - which is how we want it.

How can I update this so that upon being handed back to our site I can take the user details and attempt to match the user to an existing identity user based on the email address, and if they exist take them to the landing page, and if not show them an error?

I couldn't find anything in the documentation to explain what I need to override/inject etc. etc.

Thanks

Stephen

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

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

    hi

    The logic for external login is implemented in the Login and Register classes.

    You can download the Account Pro module source code to check the source code.

    https://abp.io/support/questions/632/How-can-I-download-the-source-code-of-the-framework-Angular-packages-theme-and-pro-modules

    Thanks.

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

    Thanks! That helped me narrow down what I was trying to do and I've got it working.

    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

    Great

    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.