{
"errors": [
{
"value": "bademail",
"msg": "a valid email is required.",
"param": "email",
"location": "query"
}
]
}
{
"error": "Unauthorized. Invalid API key."
}
Connect Account
The next step is to connect the account. After you get an OAuth URL, you should direct your user to that URL in the browser. The user will then have to authorized/allow access on the OAuth screen. Once the user allows access, Google will redirect the user back to whatever redirect URL that you've set in Pyas. The URL will contain a code parameter, which we will use in the connect request.