mozilla-iam / federated-aws-rp

DEPRECATED. Federated AWS RP is an AWS API Gateway and Lambda OpenID Connect (OIDC) Relying Party (RP) to allow users to log into the AWS Management Console with their federated identity using Single Sign On. This is no longer used by Mozilla SSO/IAM as of September 15th, 2023.
Mozilla Public License 2.0
3 stars 3 forks source link

Issuer no longer working #20

Open gene1wood opened 4 years ago

gene1wood commented 4 years ago

It looks like somethings happened and the issuer value that we pass, which should tell AWS where to send the user after their session expires, isn't working any more.

When I return to a session after 12 hours, I get redirected to https://signin.aws.amazon.com/signin instead of the URL passed in the issuer value

Here's an example of a URL that federated-aws-rp sends me to which should set the issuer.

https://signin.aws.amazon.com/federation?Action=login&Destination=https%3A%2F%2Fconsole.aws.amazon.com%2Fconsole%2Fhome&SigninToken=XXXXREDACTEDXXXX&Issuer=https%3A%2F%2Faws.sso.mozilla.com%2F%3Faccount%3Dinfosec-prod%26role%3DMAWS-Admin

gene1wood commented 4 years ago

This appears to fail intermittently. When it works the sequence is

gene1wood commented 4 years ago

And here's the failure case