question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This account does not have access to any roles

See original GitHub issue

Running ver 0.11.0, I appear to be authenticating successfully (ADFS 3.0 w/ DUO), but get the following:

Sending request for authentication
Waiting for additional authentication
Going for aws roles
...
2018-05-30 08:17:11,462 [account_aliases_fetcher account_aliases_fetcher.py:account_aliases] [7444-MainProcess] [140735887676288-MainThread] - DEBUG: Found SAML account name: Account: miengsrv (<account_num>)
2018-05-30 08:17:11,462 [authenticator authenticator.py:authenticate] [7444-MainProcess] [140735887676288-MainThread] - DEBUG: Roles along with principals found after authentication: {}
This account does not have access to any roles

The DEBUG logs show the roles, but I’m never prompted to choose:

    <div  class="saml-account"> <div onClick="expandCollapse(0);">
              <img id="image0" src="/static/image/down.png" valign="middle"></img>
              <div class="saml-account-name">Account: miengsrv (<account_num>)</div>
              </div>
              <hr style="border: 1px solid #ddd;">
     <div id="0" class="saml-account" >
                <div class="saml-role" onClick="checkRadio(this);">
                    <input type="radio" name="roleIndex" value="arn:aws:iam::<account_num>:role/engsvcs" class="saml-radio" id="arn:aws:iam::<account_num>:role/engsvcs" />
                    <label for="arn:aws:iam::<account_num>:role/engsvcs" class="saml-role-description">engsvcs</label>
                    <span style="clear: both;"></span>
                </div>

                <div class="saml-role" onClick="checkRadio(this);">
                    <input type="radio" name="roleIndex" value="arn:aws:iam::<account_num>:role/engsvcs-ro" class="saml-radio" id="arn:aws:iam::<account_num>:role/engsvcs-ro" />
                    <label for="arn:aws:iam::<account_num>:role/engsvcs-ro" class="saml-role-description">engsvcs-ro</label>
                    <span style="clear: both;"></span>
                </div>
                 </div></div>

Any guidance would be appreciated.

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
jbuettnerbildcommented, Aug 1, 2019

I had the same problem. With --no-sspi its works.

0reactions
RahulKamboj21commented, Aug 25, 2022

for us, it was happening in aws-adfs, because, my password was expired and when we used a new one, it worked!!.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot IAM assume role errors "AccessDenied" or ...
I tried to assume a cross-account AWS Identity and Access Management (IAM) role. However, I received an error similar to the following:.
Read more >
aws-adfs - Bountysource
When using aws-adfs with credential_process it makes a call to ADFS every time an AWS call is made (e.g. ... This account does...
Read more >
User role doesn't have required permissions - Dynamics 365 ...
This error appears if your Dynamics 365 security role doesn't have access to the app module used by the Dynamics 365 App for...
Read more >
New Users And Roles - Touchpoint Software Documentation
This type of account does not have any roles associated with it. ... Every TouchPoint user with access to the system must have...
Read more >
Using role management - Zoom Support
Each user in a Zoom account automatically has a system role, which can be owner, administrator, or member. These roles are associated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found