- ABP Framework version: v8.2.3
- UI Type: Angular
- Database System: EF Core
- Tiered (for MVC) or Auth Server Separated (for Angular): no
I am trying to implement a specific login process, where the user is going to be able to login either user and password, Microsoft or Google.
I need to keep the login form in the login frontend side since I customized a lot of that component, so I can not use authentication response type code
For social login what is happening is that I can only redirect to abp login page in the backend, there the user can click the social account it prefers, but this is not my goal
My specific requirement is to keep frontend login, in the login I will have two social buttons, when one of those is click the app should redirect to the login specified,
Is there a way to hide abp login and somehow in the url specify which social provider needs to be redirected to? If so, could you provide me the guidance to achieve it please
3 Answer(s)
-
0
Hi,
Unfortunately, there is no ready solution for this on the ABP side. However, you can write a custom middleware for this. You can redirect every request to
/account/login
to the provider you want according to its parameters. -
0
-
0
Super, thank you for your valuable contribution.
Closing the issue. Feel free to re-open or create a new issue if you have further questions.