Cognito Federated Identity authentication failure: Issuer doesn't match providerName

0

Hi, Cognito (Identity Pool, not user pool) is using an OIDC Identity Provider representing Azure AD, with ProviderName = "sts.windows.net/{tenantID}/". My app obtains an Azure AD token with issuer = "https://sts.windows.net/{tenantID}/". I'm getting the above error.

I can't edit the AWS IAM provider name or the issuer in the Azure AD token, so I'm stuck. However, when my app uses the same Azure AD token (i.e. same issuer) to exchange the Azure AD token via STS (not Cognito) using the exact same OIDC Identity Provider (as seen in AWS IAM), it works fine.

Any ideas? Thank you.

BK
asked a year ago38 views
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