Open Closed

Implement custom logic for external login #9025


User avatar
0
SharmaAtul created

ABP Framework version: v9.0.2

UI Type: Angular

Database System: EF Core (SQL Server)

How to implement custom logic for external login with azureAD to create user directly in db instead of showing register form.


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

    hi

    You can override the OnGetExternalLoginCallbackAsync method of LoginModel

    Download the account pro module to check the implementation.

    Thanks.

  • User Avatar
    0
    SharmaAtul created

    how can i achieve that? Can you please explain? Is it required to download the module?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can download the account pro source code to check the OnGetExternalLoginCallbackAsync method of LoginModel(account/src/Volo.Abp.Account.Pro.Public.Web/Pages/Account/Login.cshtml.cs)

    Then override the OnGetExternalLoginCallbackAsync method to implement your needs.

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

    https://abp.io/support/questions/160/How-to-customize-an-ABP-project

    Thanks.

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 April 16, 2025, 12:13