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

unable to locate SAMLRequest URL Error authenticating to IdP. #1349

Open
ghost opened this issue Sep 25, 2024 · 1 comment
Open

unable to locate SAMLRequest URL Error authenticating to IdP. #1349

ghost opened this issue Sep 25, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 25, 2024

username, password, OTP confirmed as accurate
saml2aws --version 2.33.0

saml2aws login --verbose
DEBU[0000] Running command=login
DEBU[0000] Check if creds exist. command=login
DEBU[0000] Expand name=/home/user/.aws/credentials pkg=awsconfig
DEBU[0000] resolveSymlink name=/home/user/.aws/credentials pkg=awsconfig
DEBU[0000] ensureConfigExists filename=/home/user/.aws/credentials pkg=awsconfig
Using IdP Account default to access AzureAD https://account.activedirectory.windowsazure.com
To use saved password just hit enter.
? Username
? Password *********

DEBU[0004] building provider command=login idpAccount="account {\n AppID: xxxxxxxx-64f6-4929-xxxx-4cdbe4adxxxx\n URL: https://account.activedirectory.windowsazure.com\n Username: [email protected]\n Provider: AzureAD\n MFA: PhoneAppOTP\n SkipVerify: false\n AmazonWebservicesURN: urn:amazon:webservices\n SessionDuration: 3600\n Profile: default\n RoleARN: \n Region: \n}"
Authenticating as [email protected] ...
DEBU[0005] HTTP Req URL="https://login.microsoftonline.com/common/login" http=client method=POST
DEBU[0005] HTTP Res Status="200 OK" http=client
DEBU[0005] HTTP Req URL="https://login.microsoftonline.com/common/SAS/BeginAuth" http=client method=POST
DEBU[0005] HTTP Res Status="200 OK" http=client
? Enter verification code 862584
DEBU[0015] HTTP Req URL="https://login.microsoftonline.com/common/SAS/EndAuth" http=client method=POST
DEBU[0015] HTTP Res Status="200 OK" http=client
DEBU[0015] HTTP Req URL="https://login.microsoftonline.com/common/SAS/ProcessAuth" http=client method=POST
DEBU[0015] HTTP Res Status="200 OK" http=client
DEBU[0015] HTTP Req URL="https://login.microsoftonline.com/kmsi" http=client method=POST
DEBU[0015] HTTP Res Status="200 OK" http=client
DEBU[0015] HTTP Req URL="https://launcher.myapps.microsoft.com/api/signin-oidc" http=client method=POST
DEBU[0016] HTTP Res Status="200 OK" http=client
unable to locate SAMLRequest URL
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
command-line-arguments/main.go:187
runtime.main
runtime/proc.go:225
runtime.goexit

@INeerav
Copy link

INeerav commented Oct 19, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant