Solved

DNN Authentication through iframe - issue with IE

Posted on 2015-02-13
2
62 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to filter by key press ? 6 53
IE 11 proxy GPO 1 38
disadvantage of code behind appoarch in asp.net 3 28
CSS for Popup in ASP.NET 4 10
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

679 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