Judy T Raj
Judy T Raj

Reputation: 1844

Unable to login to aws-adfs via shell. Cannot extract saml assertion

I'm trying to set up aws-adfs locally from my WSL ubuntu. aws cli version- 2.17.56 aws-adfs version - 2.11.2 I can login just fine via the webpage. I've mfa setup and the ui login page triggers a duo push automatically. But whenever I run the aws-adfs login command from the shell, I keep getting:

2025-01-31 08:56:56,137 [authenticator authenticator.py:authenticate] [1670-MainProcess] [139627920703616-MainThread] - ERROR: Cannot extract saml assertion from request's response. Re-authentication needed?
DEBUG: Roles along with principals found after authentication: None 
This account does not have access to any roles 

I've tried using the --no-ssl-verification and --no-sspi flags. I've tried reinstalling, resetting cookies, cache and credentials and configuring a default profile. All attempts end with the same response. I run the aws-adfs login command, gets the prompt for username and password and when I enter those, this happens. No duo push is triggered. Adding -v just prints out the source code for the login page. Any help would be appreciated!

Upvotes: 0

Views: 53

Answers (0)

Related Questions