Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DNN Authentication through iframe - issue with IE

Posted on 2015-02-13
2
Medium Priority
?
108 Views
Last Modified: 2016-01-30
Hi Experts,

I have a DNN 7 (07.03.03) website setup. I created a WebAPI that can receive a post with user information from another website. I take the parameters posted to the WebAPI and generate a token that can be used for login. Basically, the WebAPI generates a token, that is then added as a URL parameter that is then used to authenticate the user.

We are bringing this into the iframe of another website. When tested in Chrome, and Firefox it works for everyone. When tested in IE, it works on some computers, but not others. On the computers that it does not work in IE, I can actually take the URL with the token, and it will properly log me in if I copy and paste it directly in the address bar of the browser. If I put the same exact url in the iframe, it just shows the login page. The weird part is that when I check the DNN event viewer log, it actually shows a successful login.

I have a test site set up at http://test.nursecompetency.net. When you get to the page, click on the Button. It should log you in and show a data grid. If you try it in Chrome or FF, it will work. If you try it in IE, it will just take you to a login page, even though it will show a successful login in the event viewer. For some, it will work in IE, and others it won't.

Tested it in IE 9,10,11 (IE 11 it works for me, but not another user also with IE11)

Does anyone have any ideas?

Thanks,
Joe
0
Comment
Question by:JCaracci1
  • 2
2 Comments
 

Author Comment

by:JCaracci1
ID: 40608288
It turns out that it is IE privacy settings that are blocking 3rd party cookies. Does anyone have an easy to implement ASP.NET solution around this?
0
 

Accepted Solution

by:
JCaracci1 earned 0 total points
ID: 40608325
After additional troubleshooting, I found my solution here - http://viralpatel.net/blogs/how-to-set-third-party-cookies-with-iframe/
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Several part series to implement Internet Explorer 11 Enterprise Mode
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question