Hi there, I am working with Amazon's Alexa Skills kit and attempting to use a linked Google Account to then authenticate a user in Firebase. I have the account linking completed and an access token is being sent to my Lambda function properly. However, when I pass that access token into the "" method and attempt to authenticate, Firebase returns this error. I cannot find anything meaningful to debug or change that would change this outcome...
Firebase Auth Error: { [Error: {"error":{"errors":[{"domain":"global","reason":"invalid","message":"Invalid Idp Response: access_token is invalid"}],"code":400,"message":"Invalid Idp Response: access_token is invalid"}}]
This is the code used to re-authenticate using the provided access token (via Lambda / Node.js):
// ...
var access_token = this.event.session.user.accessToken;
// ...
var provider = new firebase.auth.GoogleAuthProvider();
// Build Firebase credential with the Google ID token.
var credential = provider.credential(null, access_token);
// Sign in with credential from the Google user.
firebase.auth().signInWithCredential(credential)
.then(function(result) {
// ...
})
.catch(function(error) {
console.log("Firebase Auth Error: ", error);
// ...
});
The most interesting bit is the fact that even though I get an error response, the user is still showing up in my console as though they properly authenticated...

Any insight would be appreciated... Thank you