bedrock-claude-chat icon indicating copy to clipboard operation
bedrock-claude-chat copied to clipboard

OIDC Setup with Okta - Error during authentication - PreSignUp+failed+with+error+%27email%27.+&state

Open philippg-sju opened this issue 7 months ago • 2 comments

Hello, Not sure if anyone has seen this error before. It looks like my configuration is correct and everything provisioned as expected. On the Okta side, I have updated the URL from the cdk output.

Our deployment uses a custom domain name.

This is what I am getting when I get to the application after my domain name/

?error_description=PreSignUp+failed+with+error+%27email%27.+&state=Jyrpes5aAo2egnVgRcihW4SFbl17pCVy&error=invalid_request

Refer to the attachment for screenshot if it helps.

Image

philippg-sju avatar Apr 10 '25 19:04 philippg-sju

I figured it out. It looks like there was a case sensitivity issue with the mapped attributes. I also added the full URL of the issuer in the secrets manager.

philippg-sju avatar Apr 10 '25 20:04 philippg-sju

Yes, need to set with upper character. https://github.com/aws-samples/bedrock-chat/blob/c053f23748534912740ad57b917779abc39f3caa/cdk/lib/constructs/auth.ts#L135

statefb avatar Apr 11 '25 00:04 statefb

This issue has been labeled as "stale" due to no response by the reporter within 1 month (and 14 days after last commented by someone). And it will be closed automatically 14 days later if not responded.

github-actions[bot] avatar May 11 '25 01:05 github-actions[bot]

This issue has been closed due to no response within 14 days after labeled as "stale", 14 days after last reopened, and 14 days after last commented.

github-actions[bot] avatar May 25 '25 01:05 github-actions[bot]