Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DNN Authentication through iframe - issue with IE

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
Several part series to implement Internet Explorer 11 Enterprise Mode
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 +…

837 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