i'm configuring Oauth2 between google photosapi and aws cognito.
when trying to get access_token in jwt.io from client id and client secret,
i'm keep getting the following error on the jwt.io url when pressing on the view hosted UI ->
https://jwt.io/#error_description=username+attribute+mapping+required&error=invalid_request
all fields are mapped correctly so i dont undestand what is the malfunction here.

does anyone have any idea how to solve it?
thanks
i solve the issue by writing correctly the scope. Hosted UI
should be matched in the scope under identity provider: Google
my question now is -> if i got access_token and i'm using it as header ->
why i'm keep getting this error message ->