Solved

DNN Authentication through iframe - issue with IE

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
REXEX help Part 2 2 22
ASP.NET MVC -Add authentication 2 20
C# Gridview 1 29
Powershell File Sort 8 25
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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

785 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