@Brenden Thanks for your message.
Yes, I already tried that also having implemented the code in the previous section:
Integrating Kentico membership into your project
Apparently I can sign in (I got success) and sign out with that code.
However, I always get false
when I check if the user is authenticated, even if I sign in programatically. But note that my MVC application doesn't allow authentication, just the CMS application does via the login form.
I've checked the authentication the ways below and all of them returned false
:
User.Identity.IsAuthenticated
HttpContext.GetOwinContext().Authentication.User.Identity.IsAuthenticated
CMS.Membership.AuthenticationHelper.IsAuthenticated()
Any idea about what I'm doing wrong?
Thank you
Kind regards,
Gustavo