Open Closed

Add OAuth2 as external login #2316


User avatar
0
alaa created
  • ABP Framework version: v4.4.4
  • UI type: Angular / MVC public
  • DB provider: EF Core / Oracle
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hello, I want to add Custom Oauth2 Login Provider but i try some solution but not working, i want to implement it as external login to view login button in login page as external login in angular and web public.

I want to integrate with UAEPass thanks

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

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

    hi

    We don’t know about UAEPass, if it supports the standard Oauth2 protocol, you can refer to

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

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

    hi

    We don’t know about UAEPass, if it supports the standard Oauth2 protocol, you can refer to

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

    thank you dear for your answer. doses the external login buttons appear on angular application or only on MVC application?

    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

    Only on MVC application.

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

    hi

    Only on MVC application.

    can i add it to angular any way?

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

    Hello alaa

    You can add provider buttons by replacing Login Component.

    You can follow this guide to replace Login Component.

    Also we use angular-oauth2-oidc library in abp. You can check how we implemented Authorization Code Flow strategy and Resource Owner Password flow with this library at auth-flow-strategy file.

    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.