Invalid scope offline_access for cognito login

0

Hi, I am using Cognito login for Google assistant account linking. Below Cognito, options are selected

Allowed OAuth Flows
Authorization code grant

Allowed OAuth Scopes
phone email openid aws.cognito.signin.user.admin profile

While login Google actions sending below request https://<domain>.amazoncognito.com/oauth2/authorize?response_type=code&client_id=<id>&redirect_uri=https://oauth-redirect.googleusercontent.com/r/<App id>&scope=email+profile+offline_access+openid&state=<state>

For this Cognito through error as invalid scope

https://oauth-redirect.googleusercontent.com/r/<App id>?error_description=invalid_scope&state=<state>&error=invalid_request

This is happening due to offline_access. Google actions team says it has to handle at login side only.

Can anyone help why Cognito rejects offline_access And how to add it to Cognito login?

Thanks, Prashanth

답변 없음

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

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

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