Redirected to restriced page even though I'm logged in
Hi there!
I'm currently struggling with what I think is mediaprotect redirecting to the wrong content.
The first image is of the page on which I have a image which is protected with MediaProtect, Im currently not logged in as a user.
The second image is the page I'm redirected to when I try to click the Protected Item. As seen at the top arrow I'm currently not logged in (this info is gained with MemberManager if thats relevant) the second arrow shows the returnurl that I should be send to.
The third image is after I've logged in, however even though I've logged in, i'll still be redirected to the restricted page insted of the actual content I wish to see. If I return to the page of the first image and click the item again I'll still be send to the page of the third image even though I'm logged in. I'm expecting to see the fourth image.
Has anyone experianced something similar to this and have any solutions?
If anything more is need like code snippets please do let me know.
Probably not this, but I once spent hours trying to debug something similar and it turned out that the item was protected by MemberGroup and my logged in Member wasn't in that 'MemberGroup'!
So I was checking I was logged in, as you are above... but it turned out my member wasn't authorized to view the file!
Anyway, mentioning on the off-chance your issue is membergroup related rather than a binary 'anyone logged in' can see stuff...
Redirected to restriced page even though I'm logged in
Hi there!
I'm currently struggling with what I think is mediaprotect redirecting to the wrong content.
The first image is of the page on which I have a image which is protected with MediaProtect, Im currently not logged in as a user. The second image is the page I'm redirected to when I try to click the Protected Item. As seen at the top arrow I'm currently not logged in (this info is gained with MemberManager if thats relevant) the second arrow shows the returnurl that I should be send to. The third image is after I've logged in, however even though I've logged in, i'll still be redirected to the restricted page insted of the actual content I wish to see. If I return to the page of the first image and click the item again I'll still be send to the page of the third image even though I'm logged in. I'm expecting to see the fourth image.
Has anyone experianced something similar to this and have any solutions? If anything more is need like code snippets please do let me know.
Kind regards
Mads
Hi Mads
Probably not this, but I once spent hours trying to debug something similar and it turned out that the item was protected by MemberGroup and my logged in Member wasn't in that 'MemberGroup'!
So I was checking I was logged in, as you are above... but it turned out my member wasn't authorized to view the file!
Anyway, mentioning on the off-chance your issue is membergroup related rather than a binary 'anyone logged in' can see stuff...
regards
Marc
Hi Marc
I tested it and sadly it didn't help :(
Got any other ideas?
Kind regards
Mads
is working on a reply...