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


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.

  • User Avatar
    0
    stephenhynds created

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

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Great

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
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 May 12, 2025, 05:22