Skip to content

Commit

Permalink
Fix typo reported in forum
Browse files Browse the repository at this point in the history
  • Loading branch information
dacharyc committed Aug 13, 2024
1 parent 47463f7 commit 7d0b625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/web/authenticate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ is a Google SDK that lets users sign up to or log in to a website with one click
});
// Callback used in `data-callback` to handle Google's response and log user into App Services
function handleCredentialsResponse(response) {
const credentials = Realm.Credentials.google({ id_token: response.credential });
const credentials = Realm.Credentials.google({ idToken: response.credential });
app
.logIn(credentials)
.then((user) => alert(`Logged in with id: ${user.id}`));
Expand Down

0 comments on commit 7d0b625

Please sign in to comment.