I would like to create my own controller under Nop.Web. I want unauthorized user can access my controller. However, Nop v2.0 redirects any unauthorized user to Login page. So my question is how can I allow external application access my controller without redirecting to Login page.
I would like to create my own controller under Nop.Web. I want unauthorized user can access my controller. However, Nop v2.0 redirects any unauthorized user to Login page. So my question is how can I allow external application access my controller without redirecting to Login page.
Thank you. Mingzhu
Mingzhu can you post your code? By default anonymous access should be allowed, look at the home controller: