What is allowed in the redirect_uri parameter of "https://signin.aws.amazon.com/oauth?Action=logout&redirect_uri=https://aws.amazon.com"?

0

When I'm logged into the AWS Console already and use https://signin.aws.amazon.com/federation to login to the AWS Console with a different account, the error page says "You must first log out before logging into a different AWS account. To logout, click here" and "here" links to https://signin.aws.amazon.com/oauth?Action=logout&redirect_uri=https://aws.amazon.com.

My ultimate goal is to be able to logout of one account and login to another in the same request so that I don't have to force human beings to keep micromanaging this themselves.

The most promising way I've come up with to achieve this is to set redirect_uri to be a https://signin.aws.amazon.com/federation?Action=login&... URL (properly escaped) but I'm always redirected to https://aws.amazon.com/console.

Can someone from AWS please advise on what's allowed in this redirect_uri? Is it related to the Issuer used in the https://signin.aws.amazon.com/federation?Action=login&... request? Something else?

Is there a one-step logout-then-login variant of https://signin.aws.amazon.com/federation?Action=login&... I can use?

已提问 2 年前93 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则