Hello Thilothama,
I hope you are not using BlockDefaultLogin marketplace module in your application, if using then one constant you need to enable also local users should have some default user role, if no then user can't able to access Application.
Thanks & Regards,
Manikandan K
Just cleaning the environment makes sense I guess.