Login issue when open website

I am facing an issue. When I run the litium website from my local host my url is something like http://localhost:61420 but it is directly redirecting to me http://localhost:61420/litium even when i dont add /litium to my url and it is not opening the storefront.Can anyone help me with this issue? My application is using SsoLoginController which uses Azure B2C authentication

That usually happens if you have no channel in Litium connected to the domain your are visiting (localhost)

If you log in to litium and add “localhost” as a domain and connect it to your channel, it would probably solve your problem.

so you are basically saying that i should log into litium BO and then through deployment accelerator i add localhost as a domain and import that package right?

If you have not deployed the accelerator, then yes that is a way to go.

I don’t personally like having “Localhost” as my domain name, because you can’t run more than one site on that host :stuck_out_tongue:

I would use projectname.localtest.me and make sure VisualStudio starts with that instead of localhost

hahah sure Thanks. Then how can I use this projectname.localtestme? I am sure I can not use it directly :laughing:

I’m not sure if you are using MVC och React accelerator, and if there are any differences about this… but… in MVC you have a file called “launchSettings.json” there you can specify the launchUrl when you start project.

I have a web.config file and yes I am using MVC

When I am deploying the accelerator package it is showing me error you do not have access to current channel

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.