-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too many redirects #82
Comments
Additional Information |
I now have managed to connect my iPAD Air with the network of my client via VPN and i can 100% reproduce the issue now. After calling the dnn page i am getting a "popup" (of the browser?) where i put in my AD credentials (this only happens once if the cache of safari was cleared before) ... then after waiting approx. 10 seconds the message "Safari could not open the page, because there appeared too many redirects" (translated from german "Safari kann die Seite nicht öffnen, da zu viele Umleitungen auftraten" ) appears in safari browser Is this of any help for narrowing down the problem? |
Please find below the log4net messages that appear when connecting to the dnn site via iPad Air... I tried setting the trust level to "full trust" in web.config and cleared cache as advised here: https://stackoverflow.com/questions/40570928/localhost-redirected-you-too-many-times-dotnetnuke ... no luck ... same messages in log4Net Logs Also tried to set authentication mode in web.config to "Windows" and identity impersonate="true" as advised here: My original web.config settings (after changing back above)
I hope any of htese infos help to narrow down the problem log4Net Messages from one single try to call the dnn page from the iPad: |
Please can you give short feedback or information if there is anything we can do or any information we can provide to solve this issue? |
Can you verify if Enable Auto Login is checked (or not) in the settings for the AD module? |
Auto login is dated and also requires that you are currently logged in to your device with AD credentials. This cant be on android devices, ipads, etc. If auto login is needed for you, I would suggest limiting your IP range down to the network where your Windows devices reside and let all others login normally. If its not needed, I would disable auto login and see if you problem goes away. I will look at the code and see if there is a better way to handle requests from mobile devices. Auto login will not work for mobile devices but maybe forcing them to a login page is needed. |
After further review, for auto login to work, Anonymous Access needs to be disabled and Basic turned on for the WindowsAuthentication.aspx file (in wiki under IIS 7 settings). This will cause all devices (in the ip range in settings) that are not logged in with AD (non-windows devices) to get that funny pop-up. If you plan to have any non windows devices in the ip range browse to the site I would recommend disabling the auto login feature. |
Hi and thank you for your suggestions
I will try and discuss the other points with my client tomorrow. Thank you for staying tuned on this issue! |
Brought over from #79
But we still have another issue (which was already there before) and I am not sure if this may also have AD Auth as the root:
The client ist always getting "too many redirects" Error if he calls the dnn-page from android or ios devices from within the network with the active directory
... have you ever tried to log in via AD from mobile Devices (Android and iOS) or do you have the possibility to test/try this?
We already tried all different settings for redirection on the portal Alias settings of the website but without any luck
Any suggestion what we can do to find out what is going on here?
The text was updated successfully, but these errors were encountered: