ERROR: Bad id_token issuer https://www.linkedin.com/oauth&error=invalid_request when using cognito and using LinkedIn as OIDC provider

0

Hey guys getting this error instead of an access token in the URL header when going to https://YourDomainPrefix.auth.region.amazoncognito.com/oauth2/authorize?response_type=code&client_id=YourClientId&redirect_uri=redirectUrl (with correct details filled in) and logging in to LinkedIn successfully:

ERROR: Bad id_token issuer https://www.linkedin.com/oauth&error=invalid_request

with Cognito using OAuth2 via LinkedIn (the OIDC provider). This randomly (i.e. nothing new was deployed) started happening on the 16th of April and I think it may actually have something to do with Cognito and not my app but I could be wrong?

Dom
질문됨 한 달 전96회 조회
1개 답변
1
수락된 답변

You might need to update your Issuer URL from https://www.linkedin.com to https://www.linkedin.com/oauth in the AWS cognito user pool settings where you configured the LinkedIn as an Identity provider.

답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
  • Thanks this was the issue. It's disappointing that we weren't notified about the change from Cognito.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠