The Wayback Machine - http://web.archive.org/web/20201101135630/https://github.com/Versent/saml2aws/issues/392
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

Okta Unknown document type error authenticating to IdP #392

Open
lapkritinis opened this issue Dec 18, 2019 · 4 comments
Open

Okta Unknown document type error authenticating to IdP #392

lapkritinis opened this issue Dec 18, 2019 · 4 comments

Comments

@lapkritinis
Copy link

@lapkritinis lapkritinis commented Dec 18, 2019

Hello,

It seems that recently there was some changes in Okta - saml2aws no longer works sadly.
It gives an error: Unknown document type error authenticating to IdP

I did check it with --verbose. I cant provide full response publicly (I can in private), but here is the start of response:
DEBU[0010] Unknown document type doc="<!DOCTYPE html><!--[if IE 7]><html class=\"lt-ie10 lt-ie9 lt-ie8\"><![endif]--><!--[if IE 8]><html class=\"lt-ie10 lt-ie9\"> <![endif]--><!--[if IE 9]><html class=\"lt-ie10\"><![endif]--><!--[if gt IE 9]><html><![endif]--><!--[if !IE]><!--><html><!--<![endif]--><head>\n\n <script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>\n\n.. etc.

Anything I can help to fix it?

@HalinGG
Copy link

@HalinGG HalinGG commented Jan 8, 2020

I'm getting the same error, its not working

@nickatsegment
Copy link

@nickatsegment nickatsegment commented Jan 8, 2020

In my setup, this was happening because I needed to set the URL to the SAML app URL, e.g. saml2aws login --url=https://exampleorg.okta.com/home/amazon_aws/redactedstring/redactedint; you can't just do --url=https://exampleorg.okta.com.

@lapkritinis
Copy link
Author

@lapkritinis lapkritinis commented Jan 9, 2020

@nickatsegment valid suggestion, but I had set up working fine for some time and one day it broke on all my computers.

@mr-brody
Copy link

@mr-brody mr-brody commented Jan 13, 2020

Adding here, this was working with a previously installed version for us(2.16.0) but not in the newest version(2.20.0).

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.