aws-adfs icon indicating copy to clipboard operation
aws-adfs copied to clipboard

ADFS 4.0 JavaScript problem

Open mmgaribaldi opened this issue 5 years ago • 6 comments

Hi everyone.

I am trying to get aws-adfs working agains an ADFS 4.0. I keep getting this:

    <div id="noScript" style="position:static; width:100%; height:100%; z-index:100">
        <h1>JavaScript required</h1>
        <p>JavaScript is required. This web browser does not support JavaScript or JavaScript in this web browser is not enabled.</p>
        <p>To find out if your web browser supports JavaScript or to enable JavaScript, see web browser help.</p>
    </div>

I saw that the ADFS IdP is returning mixed html+js so, the assertion can´t be made.

Anyone with a similar problem ?

mmgaribaldi avatar Feb 11 '20 14:02 mmgaribaldi

Hi there I have exactly the same issue : "Javascript is required"

ADFS 4.0 too

It would be great if someone could help thank you !

EDIT : It's not about Javascript. This message is in the page but shown only if javascript is not supported We fix the issue. After take a look on ADFS logs, the message was explicit

Microsoft.IdentityServer.Web.WebConfigurationException: No style sheet is configured in the active theme for default locale [en-GB/2057]. After fixing the locale on ADFS side, everything works perfectly

Hope it's help

BrewToR avatar Feb 19 '20 09:02 BrewToR

At this point everything helps, so thanks! I am going to speak to the ADFS admin and give it a try.

mmgaribaldi avatar Feb 19 '20 14:02 mmgaribaldi

Any updates on this issue ? I am also facing same issue. Looking forward to resolve asap. If required, willing to contribute on this.

rumeshkrish avatar Jun 30 '20 21:06 rumeshkrish

Hi! as @BrewToR said, it was not a javascript problem. We did a fresh install of ADFS and start working. Unfortunately, despite 18 hours of comparison, I couldnt get which config difference it was causing the problem.

mmgaribaldi avatar Jun 30 '20 21:06 mmgaribaldi

Hi @mmgaribaldi thanks for your response. I found the problem. It is related to PROXY issue. I am unable to reach https://signin.aws.amazon.com:443/saml site. Is it possible to have option for proxy in this library ?

rumeshkrish avatar Jul 01 '20 19:07 rumeshkrish

Hi, proxy support should be already working with https_proxy environment variable.

See https://docs.python-requests.org/en/master/user/advanced/#proxies

pdecat avatar Sep 23 '21 08:09 pdecat