Use an empty object as default value of options for Google Sign in (#6844)
* Use an empty object as default value of options for Google Sign in * add test case * Update test case to specifically for google auth
This commit is contained in:
@@ -113,7 +113,7 @@ async function verifyIdToken({ id_token: token, id }, { clientId }) {
|
||||
}
|
||||
|
||||
// Returns a promise that fulfills if this user id is valid.
|
||||
function validateAuthData(authData, options) {
|
||||
function validateAuthData(authData, options = {}) {
|
||||
return verifyIdToken(authData, options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user