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?

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions