By using AWS re:Post, you agree to the Terms of Use

Invalid scope offline_access for cognito login


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><id>&redirect_uri=<App id>&scope=email+profile+offline_access+openid&state=<state>

For this Cognito through error as invalid scope<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