Redirect Issue when trying to integrate AWS with Entra using OpenID Connect
I have configured the settings in both Entra and AWS. The issue I am currently facing is that the application takes to me a generic AWS homepage instead of the landing page in AWS Management Console (https://console.aws.amazon.com/console/home).
Below are some details:
Timestamp of the Issue: While no formal error message was shown at a specified date and time after logging in using the application, I tried to run it at 10:15am EST today, December 19, 2024.
Steps to Reproduce the Issue: Logged into the application at myapplications.microsoft.com. Selected the application configured to integrate with AWS using OpenID Connect (OIDC). I am first taken to an Entra login page at the link https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/authorize?client_id={client-id}&response_type=code&redirect_uri=https%3A%2F%2Fsignin.aws.amazon.com%2Foidc&scope=openid%20profile%20email&state=random-string&nonce=random-nonce&prompt=login. Instead of being directed to the AWS Management Console, I was redirected to the generic AWS homepage at this URL https://aws.amazon.com/?code={authorization-code}&state=random-string&session_state={session-state-number}.
Environment: Identity Provider: Microsoft Entra ID (Azure AD)
Federation Type: OpenID Connect (OIDC)
AWS Service Used: AssumeRoleWithWebIdentity Method: Web Browser Login (I accessed the application via a browser and clicked on the AWS-related app in the Azure portal at myapplications.microsoft.com. The redirection issue occurred during this login flow)