Solved

DNN Authentication through iframe - issue with IE

Posted on 2015-02-13
2
48 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
Comment Utility
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
Comment Utility
After additional troubleshooting, I found my solution here - http://viralpatel.net/blogs/how-to-set-third-party-cookies-with-iframe/
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now