I've created a new Login application using Angular in which I have 2FA and other stuff. For that, I have added a new AuthController which my Angular app sends/receives its requests to/from.
Everything is working fine. However, now I am trying to find a way to get rid of the default Umraco's login page and load my own login app when someone is pointing to {host}/umbraco#/login.
So far I've made a directory under my IIS named Auth and copied my angular dist folder content into it. So when I point to {host}/auth/#/login, it obviously opens up my own Login App. However, when the user logs out from Umbraco (default logout) it returns to {host}/umbraco#/login but I need it to return to {host}/auth/#/login instead.
I tried using IIS redirect but because of having '#' after /umbraco browser doesn't send the rest of the URL to the server, which prevents me from doing the redirect as well.
I am wondering if there is any way to change the route of the Umbraco's default Login page to my own application.
Custom Login section
I've created a new Login application using Angular in which I have 2FA and other stuff. For that, I have added a new AuthController which my Angular app sends/receives its requests to/from.
Everything is working fine. However, now I am trying to find a way to get rid of the default Umraco's login page and load my own login app when someone is pointing to {host}/umbraco#/login.
So far I've made a directory under my IIS named Auth and copied my angular dist folder content into it. So when I point to {host}/auth/#/login, it obviously opens up my own Login App. However, when the user logs out from Umbraco (default logout) it returns to {host}/umbraco#/login but I need it to return to {host}/auth/#/login instead.
I tried using IIS redirect but because of having '#' after /umbraco browser doesn't send the rest of the URL to the server, which prevents me from doing the redirect as well.
I am wondering if there is any way to change the route of the Umbraco's default Login page to my own application.
Thanks
is working on a reply...