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.

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

    You can override the OnGetExternalLoginCallbackAsync method of LoginModel

    Download the account pro module to check the implementation.

    Thanks.

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

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

    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

    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.

    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.