Skip to content
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

ADFS 4.0 JavaScript problem #155

Open
mmgaribaldi opened this issue Feb 11, 2020 · 6 comments
Open

ADFS 4.0 JavaScript problem #155

mmgaribaldi opened this issue Feb 11, 2020 · 6 comments
Labels
question waiting Waiting for answer

Comments

@mmgaribaldi
Copy link

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 ?

@BrewToR
Copy link

BrewToR commented Feb 19, 2020

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

@mmgaribaldi
Copy link
Author

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

@rumeshkrish
Copy link

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

@mmgaribaldi
Copy link
Author

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.

@rumeshkrish
Copy link

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 ?

@pdecat
Copy link
Collaborator

pdecat commented Sep 23, 2021

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

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

@pdecat pdecat added the waiting Waiting for answer label Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question waiting Waiting for answer
Projects
None yet
Development

No branches or pull requests

4 participants