When we switched to using Browser as provider, we get the following error when running saml2aws login:
Error authenticating to IdP.: could not install driver: could not install driver: could not check if driver is up2date: could not run driver: exit status 126
Below is CLI output when running DUMP_CONTENT=true saml2aws login --debug:
EBU[0000] Running command=login
DEBU[0000] Check if creds exist. command=login
DEBU[0000] Expand name=/Users/fedykjuliusz/.aws/credentials pkg=awsconfig
DEBU[0000] resolveSymlink name=/Users/fedykjuliusz/.aws/credentials pkg=awsconfig
DEBU[0000] ensureConfigExists filename=/Users/fedykjuliusz/.aws/credentials pkg=awsconfig
Using IdP Account default to access Browser https://accounts.google.com/o/saml2/initsso?******&forceauthn=false
DEBU[0000] Get credentials helper=osxkeychain serverURL="https://accounts.google.com/o/saml2/initsso?*********&forceauthn=false"
DEBU[0000] Get credentials helper=osxkeychain user=*********
To use saved password just hit enter.
? Username *********
? Password ***************************************
DEBU[0009] building provider command=login idpAccount="account {\n URL: https://accounts.google.com/o/saml2/initsso?*********&forceauthn=false\n Username: *********\n Provider: Browser\n MFA: Auto\n SkipVerify: false\n AmazonWebservicesURN: urn:amazon:webservices\n SessionDuration: 3600\n Profile: default\n RoleARN: \n Region: \n}"
Authenticating as ********* ...
could not install driver: could not install driver: could not check if driver is up2date: could not run driver: exit status 126
Error authenticating to IdP.
github.com/versent/saml2aws/v2/cmd/saml2aws/commands.Login
github.com/versent/saml2aws/v2/cmd/saml2aws/commands/login.go:107
main.main
github.com/versent/saml2aws/v2/cmd/saml2aws/main.go:188
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_arm64.s:1172
This is run on an 🍎 M1 Macbook Pro with macOS Monterey 12.6.
Has anyone encountered this? Any recommendation on how to fix this?
Error Details
When we switched to using
Browser
as provider, we get the following error when runningsaml2aws login
:Below is CLI output when running
DUMP_CONTENT=true saml2aws login --debug
:This is run on an 🍎 M1 Macbook Pro with macOS Monterey 12.6.
Has anyone encountered this? Any recommendation on how to fix this?