redirect to login?ReturnUrl =%2f

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi, my version of NopCommerce is 3.90

I have this problem in nopcommere, redirect to login?ReturnUrl =%2f all the time, in my local project and the server publication where send too 401 Unauthorized: Access is denied due to invalid credentials error (can't see nothing except the error). I try with all this options and doesn't work.

1. https://www.nopcommerce.com/boards/t/18948/always-back-to-login.aspx
2. See permissions on Access controll list
3. https://www.nopcommerce.com/boards/t/13927/homepage-redirect-me-to-loginreturnurl2f-error.aspx?p=2
4. Permissions on IIS and folder
5. Permissions on Pool application

I see is taking the route of web.config

<authentication mode="Forms">
      <forms name="NOPCOMMERCE.AUTH" loginUrl="~/login" protection="All" timeout="43200" path="/" requireSSL="false" slidingExpiration="true" />
    </authentication>

The weird here is in my local run (from Visual Studio and IIS Express) I can see login page and when click in home, redirect to the same route (login?ReturnUrl =%2f) and sometimes redirect to Home. I mean is intermitent.


Any help is perfect, please help.


Thank you very much.
5 years ago
I have a site running 3.9
Here is my setup in IIS
5 years ago
Yidna wrote:
I have a site running 3.9
Here is my setup in IIS



Thank very much your for response, i have the same configuration, and still happend. I put my admin credentials for login and shows the next error:

The provided anti-forgery token was meant for user "MYUSER", but the current user is ""


I see this error come from OnAuthorization method of PublicAntiForgeryAttribute class in Nop.Framework
5 years ago
Mind to explain your setup? Is it a modified version? How about the database?


5 years ago
wooncherk wrote:
Mind to explain your setup? Is it a modified version? How about the database?





Yes, Its a modified version, only add fields un the shopping cart ítem table, for to hace the price oficina product and subtotal un this table
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.