AI OnAI Off
And the user is also authenticated?
It will probably be easier to help, if you share, how you have setup your Startup.cs file.
Are you using cookie authentication?
Hi Chaudhry.
It sounds like your Authorization configuration for the Shell prevents users with WebAdmin rights to access it. That is of course assuming you are using Cookie Authentication, hence the login session is carried over to next request, and that the /Episerver URL is accessed on the same hostname (cookie being available).
Hope that helped.
/Casper Aagaard Rasmussen
I have made my custom log in which checks through the api. I have added this using OWIN middleware.
The issue I am having is that when I try to access the admin pages through loggin in my custom login it doesn't work.
My logged in user has WebAdmins role and I can check that like this
This returns true but when I try and go to /Episerver it throws me back to login page for episerver.
Any thoughts?