I´m following this Google documentation to make account linking with oauth. In the token exchange requests item, I am receiving the JSON below, as expected:
{
"client_id" : "*****",
"client_secret" : "*****",
"code" : "myauthorization_code",
"grant_type" : "authorization_code",
"redirect_uri" : "https://oauth-redirect.googleusercontent.com/r/****"
}
and my response is:
{
"access_token" : "myaccess_token",
"expires_in" : 3600,
"refresh_token" : "myrefresh_token",
"token_type" : "Bearer"
}
But I am getting "Something went wrong, please try again later"`error, in Google assistant app in iOS. In stackdriver, I am getting the error:
SYNC: Request ID 4417600193631747637 failed with code: OPEN_AUTH_FAILURE