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

This account does not have access to any roles

Open raffaeleporcellana opened this issue 11 months ago • 1 comments

Running aws-adfs --verbose login --adfs-host=****--no-ssl-verification --no-sspi with the last version 2.11.2, I get the following error

This account does not have access to any roles

The verbose mode shows me the following output

<title>
AWS Signin</title>
</head>
<body>
<div id="container">
<div id="header">
<a href="https://aws.amazon.com" rel="noopener noreferrer"><img src="/static/image/aws_logo_smile.png" alt="Amazon Web Services logo" width="84px" height="50px" /></a>
</div>
<div id="content">
<h2>Amazon Web Services Sign In</h2>
Your request included an invalid SAML response. To logout, click <a href="/oauth?Action=logout&redirect_uri=https://aws.amazon.com">here</a>
</div>
<div id="footer">
<p id="footer-text"><a href="https://aws.amazon.com/en/terms/">Terms of Use </a> <a href="https://aws.amazon.com/en/privacy/">Privacy Policy</a> &copy; 1996-2025, Amazon Web Services, Inc. or its affiliates.</p>
<img src="https://d36cz9buwru1tt.cloudfront.net/logos/logo_an_amazon_company_160x20.png" alt="An Amazon.com company" />
</div>
</div>
</body>
</html>
==========

When I Login In the browser it works.

I tried all the workaround found online, I tried passing the arn role but doesn't work

Any guidance would be appreciated. Thanks!

raffaeleporcellana avatar Jan 29 '25 10:01 raffaeleporcellana

The only thing I can say, is that this error message is shown when the password is incorrect and probably some other authentication issues.

erpel avatar Aug 01 '25 13:08 erpel