Open Closed

External Login provider in Angular module #8301


User avatar
0
Angelo_Nestola created

Continuing from https://abp.io/qa/questions/8178/3a15ee13-b147-5d0c-7ad7-c143d5e665a5 - I can't re-open that question (Why?)

I just configured both Microsoft authentication and authorization flow in a abp 9.0 angular web app but the "Sign in with Microsoft" button still doesen't appear (while in password flow it's correctly working in AuthServer). What do you mean by "The feature will be available in abp 9.0", which feature?

Do I have to add the button and the external provider authentication flow manually in angular account module login page? How can I do it?

Thank you


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

    Hi,

    You need to change the responseType to code

  • User Avatar
    0
    Angelo_Nestola created

    Hello,

    What do I gain by switching responseType to "code"? If I do it then homepage "Login" button redirects me to AuthServer login page and I don't need that. My goal is to authenticate with Microsoft from Angular login page. Is it possible?

    Thank you

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi, no it's not possible also it's not secure. External logins happens with client_credentials which means we need to store client_secret. That's why SSR in this case auth-server(MVC) is correct choice for social logins etc. we kept this behavior in server side (auth-server) that's why if you wanna use external logins you need to use auhorization code flow

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.2.0-preview. Updated on March 13, 2025, 04:08