Skip to content

Account for Ping WebAuthn detection - #265

Merged
wolfeidau merged 1 commit into
Versent:masterfrom
munkyboy:ping-webauthn-fix
Jan 8, 2019
Merged

Account for Ping WebAuthn detection#265
wolfeidau merged 1 commit into
Versent:masterfrom
munkyboy:ping-webauthn-fix

Conversation

@munkyboy

@munkyboy munkyboy commented Jan 7, 2019

Copy link
Copy Markdown
Contributor

fixes #264

@munkyboy munkyboy changed the title fix https://github.com/Versent/saml2aws/issues/264 Account for Ping WebAuthn detection Jan 7, 2019
@wolfeidau
wolfeidau merged commit b13e279 into Versent:master Jan 8, 2019
@ewitkop

ewitkop commented Jan 29, 2020

Copy link
Copy Markdown

I am still seeing this issue in January 2020.

DFWMACV12GJHD4:AWS-LIAB ewitkop$ saml2aws --version
2.22.0
DFWMACV12GJHD4:AWS-LIAB ewitkop$

l0NA1siXF9CRAwIWgNASQ9bCEdwQ0IL","queueTime":0}</script>\n\n" provider=pingone
Unknown document type
error authenticating to IdP
github.com/versent/saml2aws/cmd/saml2aws/commands.Login
/Users/markw/Code/notgopath/saml2aws/cmd/saml2aws/commands/login.go:72
main.main
/Users/markw/Code/notgopath/saml2aws/cmd/saml2aws/main.go:146
runtime.main
/usr/local/Cellar/go/1.13.6/libexec/src/runtime/proc.go:203
runtime.goexit
/usr/local/Cellar/go/1.13.6/libexec/src/runtime/asm_amd64.s:1357
DFWMACV12GJHD4:AWS-LIAB ewitkop$

@jessesanford

Copy link
Copy Markdown

same here: ` saml2aws login --verbose
DEBU[0000] Running command=login
DEBU[0000] check if Creds Exist command=login
DEBU[0000] Expand name=/home/foo/.aws/credentials pkg=awsconfig
DEBU[0000] resolveSymlink name=/home/foo/.aws/credentials pkg=awsconfig
DEBU[0000] ensureConfigExists filename=/home/foo/.aws/credentials pkg=awsconfig
Using IDP Account default to access Ping https://foo
To use saved password just hit enter.
? Username
? Password *********************

DEBU[0009] building provider command=login idpAccount="account {\n URL: https://foo\n Username: foo\n Provider: Ping\n MFA: Auto\n SkipVerify: false\n AmazonWebservicesURN: urn:amazon:webservices\n SessionDuration: 3600\n Profile: saml\n RoleARN: \n Region: \n}"
Authenticating as foo ...
DEBU[0009] HTTP Req URL="https://foo/idp/startSSO.ping?PartnerSpId=urn:amazon:webservices" http=client method=GET
DEBU[0009] HTTP Res Status="200 OK" http=client
DEBU[0009] doc detect provider=pingfed type=login
DEBU[0009] HTTP Req URL="https://foo/idp/Yatke/resumeSAML20/idp/startSSO.ping" http=client method=POST
DEBU[0009] HTTP Res Status="200 OK" http=client
DEBU[0009] Unknown document type doc="<html lang="en" dir="ltr">\n <title>Sign On Error</title>\n <base href="https://foo/\"/>\n <meta name="robots" content="noindex, nofollow"/>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>\n <meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>\n <meta http-equiv="x-ua-compatible" content="IE=edge"/>\n <link rel="stylesheet" media="all" type="text/css" href="assets/css/main.css"/>\n\n\n\n \n <div class="ping-container">\n \n \n <div class="ping-header">\n <span class="company-logo">\n Sign On Error\n \n \n <div class="ping-body-container">\n\n <div class="ping-messages">\n \n <div class="ping-error">\n \n \n \n \n\n \n <div class="ping-error">\n Authentication Failed\n \n\n \n <div class="ping-error">\n Please contact your system administrator for assistance regarding this error.\n \n\n <div class="wrap">\n Adapter: CompositeIdpAdapter\n \n\n \n \n\n \n \n \n \n <div class="ping-footer-container">\n <div class="ping-footer">\n <div class="ping-credits">\n <div class="ping-copyright">Copyright © 2003-2019. Ping Identity Corporation. All rights reserved.\n \n \n \n \n \n\n\n" provider=pingfed
Unknown document type
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
runtime/asm_amd64.s:1371`

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

Successfully merging this pull request may close these issues.

ping - Unknown document type

4 participants